Skip to content

Commit 456c4a9

Browse files
committed
DOC: Clean docs for argpartition
1 parent 05a3b82 commit 456c4a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpy/_core/fromnumeric.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,9 @@ def argpartition(a, kth, axis=-1, kind='introselect', order=None):
925925
is unstable, and hence the returned indices are not guaranteed
926926
to be the earliest/latest occurrence of the element.
927927
928-
The sort order of ``np.nan`` is bigger than ``np.inf``.
929-
930-
See `partition` for notes on the different selection algorithms.
928+
`argpartition` works for real/complex inputs with nan values,
929+
see `partition` for notes on the enhanced sort order and
930+
different selection algorithms.
931931
932932
Examples
933933
--------

0 commit comments

Comments
 (0)