This is documentation for an old release of NumPy (version 1.17). Read this page in the documentation of the latest stable release (version 2.2).
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