I don’t think that np.search is really solving the same problem as
find_first would.
IMO, we should solve that problem with an argfirst(bool_array, axis=0,
keepdims=False) -> intp function, with almost the same semantics as argmax,
but special-casing an array of Falses, to return bool_array.shape[
On Tue, May 9, 2017 at 9:46 AM, Martin Spacek wrote:
> Looking at my own habits and uses, it seems to me that finding the indices
> of matching values of one array in another is a more common use case than
> finding insertion indices of one array into another sorted array. So, I
> propose that np
Hello,
I've opened up a pull request to add a function called np.search(), or something
like it, to complement np.searchsorted():
https://github.com/numpy/numpy/pull/9055
There's also this issue I opened before starting the PR:
https://github.com/numpy/numpy/issues/9052
Proposed API changes
Hi All,
I am getting ready to branch 1.13 after updating the release notes and
.mailmap. If there is something that you think is essential to get into
1.13 that is not there, comment.
Chuck
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
h