-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: timezone conversion example added to pandas.Series.astype doc #33399 #33470
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
DOC: timezone conversion example added to pandas.Series.astype doc #33399 #33470
Conversation
Hello @venkateshdatta1993! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-04-11 18:56:24 UTC |
pandas/core/generic.py
Outdated
|
||
Convert to datetime type with time zone: | ||
|
||
>>> # localize to UTC and convert to US/Eastern time zone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the comment here, can you add it as commentary with Convert to datetime type with time zone:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure @mroeschke
I'll make that change and update the PR.
Thanks @venkateshdatta1993! |
Thanks @mroeschke for guiding me through this. |
…3399
Have added an example in the documentation page of pandas.Series.astype for datetime type with timezone.