np.argsort reverse

26

argsort in descending order numpy -

avgDists.argsort()[::-1][:n]

Comments

Submit
0 Comments