diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-06-03 13:23:46 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-06-03 13:37:15 +0100 |
commit | cbaa809820656bf39f4ec78a9bec1426239ce440 (patch) | |
tree | 11ea32b20030a51eecf51ba43e58456cebc56081 /numpy/core/numeric.py | |
parent | 0e4610e30aabaf32c037fc94c869a20f2435a8f1 (diff) | |
download | numpy-cbaa809820656bf39f4ec78a9bec1426239ce440.tar.gz |
MAINT: Don't internally use the one-argument where
nonzero is a clearer spelling
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 1dde02400..da9e83a1c 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 -------- |