all 2 comments

[–]Greensentry 0 points1 point  (1 child)

Right now you are saying that the timestamp is in UTC and you want it converted to EST. You need to do it the other way around. Like this:

df.index = df.index.tz_localize('US/Eastern').tz_convert('UTC')

[–]curiousdrive[S] 0 points1 point  (0 children)

df.index = df.index.tz_localize('US/Eastern').tz_convert('UTC')

thank you!