If you want to shift the index of a DataFrame by a specific number of periods, use pandas.DataFrame.shift.
pandas.DataFrame.shift
My previous tips on datetime in pandas.