As shown below:
aa = [1,2,3,4,5] (max(aa))
If aa is a numpy array:
aa = ([1,2,3,4,5])
First convert aa to List, and then find the index:
bb = () (max(bb))
The above python method to find the index corresponding to the largest element in the list is all the content I share with you. I hope you can give you a reference and I hope you can support me more.