out[ ] : : + : : : + : : : + : : : + : - : : + : : : + : freqd in [ ]ts_eastern tz_convert('europe/berlin'out[ ] : : + : : : + : : : + : : : + : - : : + : : : + : freqd tz_localize and tz_convert are also instance methods on datetimeindexin [ ]ts index tz_localize('asia/shanghai'out[ ] : : : : length freqdtimezoneasia/shanghai localizing naive timestamps also checks for ambiguous or non-existent times around daylight savings time transitions operations with time zone-aware timestamp objects similar to time series and date rangesindividual timestamp objects similarly can be localized from naive to time zone-aware and converted from one time zone to anotherin [ ]stamp pd timestamp( : 'in [ ]stamp_utc stamp tz_localize('utc'in [ ]stamp_utc tz_convert('us/eastern'out[ ]you can also pass time zone when creating the timestampin [ ]stamp_moscow pd timestamp( : 'tz='europe/moscow'in [ ]stamp_moscow out[ ]time zone-aware timestamp objects internally store utc timestamp value as nanoseconds since the unix epoch (january )this utc value is invariant between time zone conversionstime zone handling www it-ebooks info