numpy / 1.22.0 / reference / generated / numpy.ndarray.argpartition.html /

numpy.ndarray.argpartition

method

ndarray. argpartition ( kth, axis=- 1, kind='introselect', order=None )

Returns the indices that would partition this array.

Refer to numpy.argpartition for full documentation.

New in version 1.8.0.

See also

numpy.argpartition

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.ndarray.argpartition.html