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

numpy.ndarray.argsort

method

ndarray. argsort ( axis=- 1, kind=None, order=None )

Returns the indices that would sort this array.

Refer to numpy.argsort for full documentation.

See also

numpy.argsort

equivalent function

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