Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.TimedeltaIndex.shift

TimedeltaIndex.shift(n, freq=None)

Specialized shift which produces a DatetimeIndex

Parameters:

n : int

Periods to shift by

freq : DateOffset or timedelta-like, optional

Returns:

shifted : DatetimeIndex