Table Of Contents

Search

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

pandas.TimedeltaIndex.shift

TimedeltaIndex.shift(n, freq=None)[source]

Specialized shift which produces a DatetimeIndex

Parameters:

n : int

Periods to shift by

freq : DateOffset or timedelta-like, optional

Returns:

shifted : DatetimeIndex

Scroll To Top