SciPy

This is documentation for an old release of NumPy (version 1.8.1). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ndarray.argsort

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

Returns the indices that would sort this array.

Refer to numpy.argsort for full documentation.

See also

numpy.argsort
equivalent function

Previous topic

numpy.ndarray.sort

Next topic

numpy.ndarray.partition