-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
34297 sub slow in first call #34354
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
34297 sub slow in first call #34354
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also add a note in perf section for 1.1
Added the whats new entry. |
� Conflicts: � doc/source/whatsnew/v1.1.0.rst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small edit, ping on green.
asv_bench/benchmarks/arithmetic.py
Outdated
columns=column_names, | ||
) | ||
|
||
def time_sub_multiindex(self, func): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you rename to: time_binary_op_multiindex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
thanks @phofl |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
@jbrockmendel
I added a lenght check as suggested by you. I could not find another method to check the indices (nlevels for example does not work). I'm open to recommendations about adding additional checks before running into the values call.
I have added a test, which measures the execution time of both calls to
sub
. Is there a better way to test, if they are equally fast?