-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: compare freq strings (timeseries plotting perf) #11194
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
Conversation
55ecbf0
to
2a7b452
Compare
@sinhrks You did think this is OK? |
Thanks for this. I think we should call
|
@jorisvandenbossche if you can update |
freq attribute changed to return Offset object instead of string, making this comparison much slower
2a7b452
to
a6379b6
Compare
@sinhrks Thanks for the catch. It won't be needed for the plotting case I suppose, but indeed in general the example you give are valid. I should probably add some tests for these, as they were not caught by the test suite) |
@jorisvandenbossche which benchmark does this close? |
At least the plotting.plot_timeseries_period.time_plot_timeseries_period one (didn't test if it would improve for some of the others as well) |
this doesn't seem to fix that one? and its using |
Did you test with this branch?
With pandas 0.16.2:
With 0.17.0rc:
With this branch:
So it did not fully bring it back to previous performance, but at least not the big slow down. It indeed uses |
|
@TomAugspurger can we get rid of this deprecated function? |
@jreback strange .. I just rebuild both versions (rc1 and this branch) and tested again:
Did you test it with this branch or with current master? As I notice you have another commit in the version string |
ok cardinal sin of not rebuilding the extensions....i must have had an older version... thanks!
|
PERF: compare freq strings (timeseries plotting perf)
See overview in #11084