I have a pandas dataframe with datetime index
Date 2013-02-22 00:00:00+00:00 0.280001 2013-02-25 00:00:00+00:00 0.109999 2013-02-26 00:00:00+00:00 -0.15
Could you just do df.shift().loc[date]?
df.shift().loc[date]