NumPy

Previous topic

numpy.ma.argsort

Next topic

numpy.ma.diag

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

numpy.ma.sort

numpy.ma.sort(a, axis=-1, kind=None, order=None, endwith=True, fill_value=None)[source]

Return a sorted copy of the masked array.

Equivalent to creating a copy of the array and applying the MaskedArray sort() method.

Refer to MaskedArray.sort for the full documentation

See also

MaskedArray.sort

equivalent method