Index.shift()

pandas.Index.shift

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

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

Returns: shifted : Index

© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pand