pandas / 0.22.0 / generated / pandas.index.shift.html /

pandas.Index.shift

Index.shift(periods=1, freq=None) [source]

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

Returns: shifted : Index

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Index.shift.html