python numpy get index position

The index-related functions in numpy are related to arg,
such as A.argmax, the index A.argmin where the maximum value is located
, the index A.argsort where the minimum value is located
, and the position of the index after sorting

Other methods np.where(condition)

Ich denke du magst

Origin blog.csdn.net/weixin_39107270/article/details/131299709
Empfohlen
Rangfolge