Link to home
Start Free TrialLog in
Avatar of dadadude
dadadude

asked on

Numpy Max python

is there a way to get the index of the maximum element in python?

in matlab we have [V,I] = max(a,[],3) it will give us all the matrices along the axis 3 and the index of each max element. is there a way to do it in Python???
ASKER CERTIFIED SOLUTION
Avatar of yuk99
yuk99
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dadadude
dadadude

ASKER

Great answer. Thank you