-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Don't convert time data to timedelta by default #940
Conversation
4e052f5
to
98ed32e
Compare
This is ready for review. Here is an example of this PR in action showing how plotting and working with periods gets easier with BTW, in light of #939 (comment), I wonder if Maybe I am being thick and I don't know enough use cases data but I cannot see why someone might want to convert time data (which most of the time represent periods) to Regarding time coordinate itself I understand that I understand, and agree most of the time, that raising erros is better than issuing warnings, and creating an ambiguity in the returns. So maybe this one is harder to change than the former. |
Decoding time units into Either way, we will definitely need to support the original |
I get that but my question is how often do users perform do such operations? Again I am biased b/c with my data I never want to do that as it does not make sense. And, when it does make sense, I believe that the price of post conversion is worth the advantages of converting by
If you want Feel free to close this. I don't have strong feelings about what |
It might be worth querying the mailing list for more opinions here. If the main issue is plotting, you could try fixing that upstream, too! pandas-dev/pandas#8711 |
Indeed! That makes sense to matter what is decided here. Thanks for pointing that out. (Not sure if I am up to the challenge though.)
Done! |
@shoyer the more I think about this the more I don't like the addition of extra keywords. Even though I would like this behavior to be the default one I really do not like the complexity I added here. Closing this... |
I don't really like this PR... Too much change for a simple thing. I may try again soon.
Closes #843