-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
DOC: Improve error message to show correct order #23652
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
numpy 1.7.0 erroneously raises IndexError instead of ValueError
from ndarray.item() when the array is not of length 1. This can be
seen as a failure of
computation.tests.test_eval.TestScope.test_global_scope
for the cases that engine='numexpr'.
Absorb the splatter from this regression by explicitly catching the
erroneous IndexError.
|
Hello @dat-boris! Thanks for submitting the PR.
|
datapythonista
left a comment
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.
lgtm, nice work. Thanks @dat-boris
|
Thank you @datapythonista @TomAugspurger - glad to be able to contribute to Pandas, way overdue! 👍 |
|
thanks @dat-boris |
sections_in_wrong_ordergit diff upstream/master -u -- "*.py" | flake8 --diff