How to find the index of n largest elements in column vector, Python

前端 未结 0 1346
谎友^
谎友^ 2021-01-04 06:58

Is there a built-in function or a very simple way of finding the index of n largest elements in vertical vector ?

v = [[5]
     [3]
     [1]
     [2]
     [4]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题