-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: some regressions #11084
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
@sinhrks I was looking at the time series plotting slowdown ( It is related to some of the Period changes, namely that
Above is with 0.16.2, on master this gives me 109 ms instead of 1.86 ms. Reason for the slowdown is that PeriodIndex._from_arraylike will try to extract the freq from each object, and checks if the freq is equal to the given freq. Previously this was a string equality check, now a DateOffset/string equality check. Now, looking for a possible fix, this commit: jorisvandenbossche@55ecbf0 (making it compare strings again) does solve the perf issue for a big part. But I was wondering, do you know a better approach? |
Thanks for catching this. In addition to your ideas, caching str -> freq mapping in Let me look into this. |
closing as stale |
http://pydata.github.io/pandas/# is a view since 0.14 (its not every tag, but a sampling).
The regressions pages is now working here
timeseries / period related:
The text was updated successfully, but these errors were encountered: