Enter search terms or a module, class or function name.
DataFrameGroupBy.
shift
Shift each group by periods observations
periods : integer, default 1
number of periods to shift
freq : frequency string
axis : axis to shift, default 0
See also
pandas.Series.groupby, pandas.DataFrame.groupby, pandas.Panel.groupby
pandas.Series.groupby
pandas.DataFrame.groupby
pandas.Panel.groupby