-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Add tz_localize
and tz_convert
to Series.dt methods
#8187
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
The only thing is that the result is no longer a Furthermore, I think |
so datetime columns with tz become object even if they share tz info (I'd never noticed that!)... is this another case of wanting Series meta data or is there some way we can have dti behaviour here?
+1 on method parity between dti & dt. |
it IS possible to fix this and make datetime tz aware columns need a subclass of the DatetimeBlock internally that keeps the tz (would need to be a uniform tz for the block) not sure how tricky his would be |
The vast majority of the friction I've experienced using pandas has come from the fact that |
yep sort of trivial, going to add as part of #8184 (as well as |
|
Would return a Series with the same index whose values are Timestamps with the timezone set.
I haven't looked at this code too closely, so I'm not sure how difficult it would be and if it's doable for 0.15.
@hayd brought it up on SO: http://stackoverflow.com/questions/25656826/speeding-up-timestamp-operations/25657249?noredirect=1#comment40118386_25657249
The text was updated successfully, but these errors were encountered: