Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to sort numpy array

arr=[1,4,2,6,3,5,8,7]
np.sort(arr)
array([1, 2, 3, 4, 5, 6, 7, 8])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #How #sort #numpy #array
ADD COMMENT
Topic
Name
7+6 =