bigframes.pandas.Series.shift#

Series.shift(periods: int = 1) Series[source]#

Shift index by desired number of periods.

Shifts the index without realigning the data.

Parameters:

int (periods) – Number of periods to shift. Can be positive or negative.

Returns:

Copy of input object, shifted.

Return type:

NDFrame