How do I get indices of N maximum values in a NumPy array?

后端 未结 18 1440
长情又很酷
长情又很酷 2020-11-22 04:25

NumPy proposes a way to get the index of the maximum value of an array via np.argmax.

I would like a similar thing, but returning the indexes of the

18条回答
提交回复
热议问题