W3cubDocs

/NumPy 1.17

numpy.msort

numpy.msort(a) [source]

Return a copy of an array sorted along the first axis.

Parameters:
a : array_like

Array to be sorted.

Returns:
sorted_array : ndarray

Array of the same type and shape as a.

See also

sort

Notes

np.msort(a) is equivalent to np.sort(a, axis=0).

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.msort.html