numpy.msort

numpy.msort(a)[源代码]

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.

参见

sort

Notes

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