-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Timestamp subtraction of NaT with timezones #11718
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
Labels
Milestone
Comments
Thanks for the report. There seems to be several problems related to this. PR is appreciated!
|
iirc there is an issue open about this - we need to have arithmetic methods on the NaT scalar itself |
some of this is being addressed by #11564 |
Looks no changes from the output attached above. I'll take a look. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In pandas 0.17.1, a TypeError is returned when trying to subtract a timezone-aware timestamp from a NaT timestamp:
Subtracting a timezone unaware timestamp from a NaT timestamp is no problem. Also subtracting a NaT from a timezone aware timestamp works:
The text was updated successfully, but these errors were encountered: