I am iterating through the rows of a dataframe using iterrows:
for index, row in df.iterrows():
pass
Given that the index here contains datetime objects, how can we easily access the row at the previous index (i-1) while being at level index (i) ?
Thanks