diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 1ab7c50d86c98..2b5e4b912247e 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5724,6 +5724,10 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None, convention : {'start', 'end', 's', 'e'} For PeriodIndex only, controls whether to use the start or end of `rule` + kind: {'timestamp', 'period'}, optional + Pass 'timestamp' to convert the resulting index to a + ``DateTimeIndex`` or 'period' to convert it to a ``PeriodIndex``. + By default the input representation is retained. loffset : timedelta Adjust the resampled time labels base : int, default 0