numpy / 1.23 / 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–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.ndarray.argpartition.html