Enable origin
and offset
arguments in resample
#7284
Merged
origin
and offset
arguments in resample
#7284