You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases I need to calculate the time group from the end of time series instead of the beginning.
For example, if user uses s.resample('7min', origin='end', closed='right') , the following expected groups are (09:23:45, 09:30:45], (09:16:45, 09:23:45], (09:09:45, 09:16:45], ... , (08:20:45, 08:27:45]. And under normal cases, closed should be right when origin is end since last value should serve as the end value of the last group.
In some cases I need to calculate the time group from the end of time series instead of the beginning.
For example, if user uses
s.resample('7min', origin='end', closed='right')
, the following expected groups are (09:23:45, 09:30:45], (09:16:45, 09:23:45], (09:09:45, 09:16:45], ... , (08:20:45, 08:27:45]. And under normal cases,closed
should beright
whenorigin
isend
since last value should serve as the end value of the last group.Thus the sum operation on this resampler shows:
The text was updated successfully, but these errors were encountered: