MaskedArray.sort()
numpy.ma.MaskedArray.sort
-
MaskedArray.sort(axis=-1, kind='quicksort', order=None, endwith=True, fill_value=None)
[source] -
Sort the array, in-place
Parameters: a : array_like
Array to be sorted.
axis : int, optional
Axis along which to sort. If None, the array is flattened before sorting. The default is -1, which sorts along the last axis.
kind : {‘quicksort’, ‘mergesort’, ‘heapsort’}, op