Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

argsort in descending order numpy

avgDists.argsort()[::-1][:n]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #argsort #descending #order #numpy
ADD COMMENT
Topic
Name
1+4 =