On this page
numpy.msort
numpy.msort(a)
[source]-
Return a copy of an array sorted along the first axis.
- Parameters
-
aarray_like
-
Array to be sorted.
- Returns
-
sorted_arrayndarray
-
Array of the same type and shape as
a
.
See also
Notes
np.msort(a)
is equivalent tonp.sort(a, axis=0)
.
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.msort.html