The Traderszone Network

Published in TZ Latest News 3 October, 2017 by The TZ Newswire Staff

Python/Pandas Time Series problem

So I have a collection of time series from a few different global locations and all have time stamps based on the local time (US/Easters, US/Central, EU/London etc). I need to merge them all into a single data frame with consistent time stamps (my preference is US/Eastern since it’s more intuitive to me). So I do
dfCME = dfCME.tz_localize(‘US/Central’).tz_convert(‘US/Eastern’)
dfEurex = dfCME.tz_localize(‘EU/London’).tz_convert(‘US/Eastern’)
it seems to work, I get time stamps that look…

read more