Provide resampling when using a TimeGrouper.

Given a grouper, the function resamples it according to a string “string” -> “frequency”.

See the frequency aliases documentation for more details.

param rule
str or DateOffset

The offset string or object representing target grouper conversion. *args, **kwargs Possible arguments are how, fill_method, limit, kind and on, and other arguments of TimeGrouper.


Grouper Return a new grouper with our resampler appended.


This feature is currently unsupported by Intel Scalable Dataframe Compiler