Enter search terms or a module, class or function name.
DataFrameGroupBy.
shift
Shift each group by periods observations.
number of periods to shift
New in version 0.24.0.
See also
pandas.Series.groupby, pandas.DataFrame.groupby, pandas.Panel.groupby
pandas.Series.groupby
pandas.DataFrame.groupby
pandas.Panel.groupby