-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
pandas.Series.to_json() incorrectly localizes tz-naive datetimes to UTC #38760
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
Milestone
Comments
Solving #12997 should close this issue as well. |
how so? |
Related:
Not identical:
Besides, the 2nd comparison above should throw an exception (does it make sens to compare tz-aware with tz-naive?!), but that is another subject. |
3 tasks
4 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Seemingly related but not identical to #12997
How to reproduce the bug
Checked with pandas 0.24.2, 1.1.5 and 1.2.0.
Output
(Notice the "Z" indicating UTC)
Expected output
(without "Z")
The text was updated successfully, but these errors were encountered: