diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-06-03 09:31:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-03 09:31:38 -0600 |
commit | 48b0374b8cb2e06a1bc620a9dcaa35c2d92753f2 (patch) | |
tree | b02ce41cd466d1fba0d5918904ffbd3b128f1444 /numpy/core/numeric.py | |
parent | e5e2cf89d01d7b09631977482b11df79e8131c6d (diff) | |
parent | cbaa809820656bf39f4ec78a9bec1426239ce440 (diff) | |
download | numpy-48b0374b8cb2e06a1bc620a9dcaa35c2d92753f2.tar.gz |
Merge pull request #9214 from eric-wieser/no-one-arg-where
MAINT: Don't internally use the one-argument where
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 9073ca5ff..83f2ce838 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -838,7 +838,7 @@ def argwhere(a): ``np.argwhere(a)`` is the same as ``np.transpose(np.nonzero(a))``. The output of ``argwhere`` is not suitable for indexing arrays. - For this purpose use ``where(a)`` instead. + For this purpose use ``nonzero(a)`` instead. Examples -------- |