columnA columnB
symbol timestamp
AAPL 2022-08-17
AAPL 2022-08-17
TSLA 2022-08-17
TSLA 2022-08-17
I am trying to shift all timestamps by one day.
I have this:
new_dates = df.index.get_level_values(1) + pd.Timedelta(days=1)
How do I apply it to the dataframe?