numpy.ndarray.argpartition — NumPy v2.2 Manual (original) (raw)

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.