On this page
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
Notes
np.msort(a)
is equivalent tonp.sort(a, axis=0)
.
© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.msort.html