We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original ticket http://projects.scipy.org/numpy/ticket/1738 on 2011-02-09 by @nbecker, assigned to unknown.
find_first would be a performance enhancement. The current alternative would be something like:
argmax (some boolean function...)
which requires a lot of extra work if all you want is the index of the first occurance.
This is frequently wanted for 1-d arrays, where it's meaning is unambiguous. I think semantics for n-d (n > 1) arrays is up for discussion.
The text was updated successfully, but these errors were encountered:
@rgommers wrote on 2011-03-24
Duplicate of #2269 (more or less, I added a comment there).
Sorry, something went wrong.
No branches or pull requests
Original ticket http://projects.scipy.org/numpy/ticket/1738 on 2011-02-09 by @nbecker, assigned to unknown.
find_first would be a performance enhancement. The current alternative would be something like:
argmax (some boolean function...)
which requires a lot of extra work if all you want is the index of the first occurance.
This is frequently wanted for 1-d arrays, where it's meaning is unambiguous. I think semantics for n-d (n > 1) arrays is up for discussion.
The text was updated successfully, but these errors were encountered: