pandas.DataFrame.resample — pandas 1.3.5 documentation
https://pandas.pydata.org/.../reference/api/pandas.DataFrame.resample.htmlpandas.DataFrame.resample¶ DataFrame. resample (rule, axis = 0, closed = None, label = None, convention = 'start', kind = None, loffset = None, base = None, on = None, level = None, origin = 'start_day', offset = None) [source] ¶ Resample time-series data. Convenience method for frequency conversion and resampling of time series. The object must have a datetime-like …
pandas.DataFrame.resample — pandas 1.3.5 documentation
pandas.pydata.org › pandasThe object must have a datetime-like index (DatetimeIndex, PeriodIndex, or TimedeltaIndex), or the caller must pass the label of a datetime-like series/index to the on / level keyword parameter. Parameters rule DateOffset, Timedelta or str. The offset string or object representing target conversion. axis {0 or ‘index’, 1 or ‘columns ...