pandas.Index.shift — pandas 0.18.1 documentation (original) (raw)

Index.shift(periods=1, freq=None)

Shift Index containing datetime objects by input number of periods and DateOffset

Returns: shifted : Index