summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorDiwakar Gupta <39624018+Diwakar-Gupta@users.noreply.github.com>2022-03-16 23:36:45 +0530
committerGitHub <noreply@github.com>2022-03-16 11:06:45 -0700
commit95a7bb4746197a05fd23dbe39c7b3dbb105a18d9 (patch)
tree3c867dff65ff5121e28a8b88a9dfe411093e9bfe /numpy/core/fromnumeric.py
parentf6efa62e3c2f86a57d46b69522cc68b983e3df2b (diff)
downloadnumpy-95a7bb4746197a05fd23dbe39c7b3dbb105a18d9.tar.gz
DOC: typo corrected in numpy.argpartition (#21201)
* DOC: numpy.argpartition typo corrected Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 6e6b6730c..9e58d9bea 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -804,8 +804,8 @@ def argpartition(a, kth, axis=-1, kind='introselect', order=None):
index_array : ndarray, int
Array of indices that partition `a` along the specified axis.
If `a` is one-dimensional, ``a[index_array]`` yields a partitioned `a`.
- More generally, ``np.take_along_axis(a, index_array, axis=a)`` always
- yields the partitioned `a`, irrespective of dimensionality.
+ More generally, ``np.take_along_axis(a, index_array, axis)``
+ always yields the partitioned `a`, irrespective of dimensionality.
See Also
--------