Timezones for PeriodIndex #2106

changhiskhan opened this Issue Oct 23, 2012 · 8 comments


None yet
6 participants

changhiskhan commented Nov 12, 2012

xref: #2232


amelio-vazquez-reina commented Jan 7, 2016

I am having the same problem here with the latest stable version of Pandas.


jreback commented Jan 7, 2016

these r not supported

same issue, what's not supported?

@jreback jreback added the Period label May 28, 2016


jreback commented May 28, 2016

Periods don't support timezone. Plotting needs to convert to a local tz before creating the periods.

As a workaround, you can remove the timezone info from the DateTimeIndex of the data which you're wishing to plot using .tz_localize(None) which will preserve the values but strip the timezone information. Matplotlib/pyplot will see these naive datetime values and assume that they are UTC, and will happily plot them with working x-axis ticks.


jreback commented Oct 12, 2016

going to close this issue. This add needless complication because Periods can actually fall in more than 1 tz (e.g. on a DST change), when tz's are quite well supported on DTIs / Timestamps and the conversions are pretty straightforward.

@jreback jreback closed this Oct 12, 2016

This StackExchange response leads to this issue.
Any kind of solution to this issue still seems to be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment