Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy argsort

x = np.array([3, 1, 2])
>>> np.argsort(x)
array([1, 2, 0])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy #argsort
ADD COMMENT
Topic
Name
3+6 =