-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Using 'date' type for scatter xaxis fails when coordinates stored in Numpy array #1927
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
So I'm moderately sure this has to do with the fact that pandas stores its datatime64[ns] internally as 'int64' where as numpy stores it as 'uint64'. It's supposed to be number of nanoseconds since epoch, so I can't imagine there would be a need for negative counts, but I don't know enough about the intent pandas had there. |
< 8000 a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonmmease/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonmmease">@jonmmease maybe let's take a look at this in the context of the #2955 thing? |
@jonmmease was this fixed by #3022 actually? |
I'm not sure when this was fixed, but it no longer happens on master, and so at the very least will be fixed in 5.0 :) |
Uh oh!
There was an error while loading. Please reload this page.
It's possible (nay, likely) that I'm misunderstanding something but the docs indicate that Numpy arrays containing timestamps should be allowed. Yet, I'm currently having to cast this into a Pandas Series for it to work:
This yields:
The text was updated successfully, but these errors were encountered: