-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
to_period is dropping timezone information #21333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In general, it seems that timezone is dropped, even when you just instantiate a pd.PeriodIndex([localSeries[0]], freq="30T")[0].start_time.tz
# None |
Duplicate of #1159? |
@jbrockmendel : Seems to be, but I don't see why we give it another shot, since this time it's end-users expressing interest. 🙂 |
While full timezone support would be nice, the bigger issue for us was the silent dropping of them. Everywhere else I've seen in Pandas timezones are treated very safely |
While this may be useful for monthly/quarterly granularity data, it causes a problem for half-hourly data or similar around clock change, because the local times are used but the time-zone knowledge is dropped without warning.
The text was updated successfully, but these errors were encountered: