Dear all: if I have an array, let's say
a=np.asarray([[1,1,2],[2,3,1]])
is there any way to find the point with the greatest third element. For example, in this case, I want the code to return the second point which is [1,1,2].
Then what about the greatest second element which should return [2,3,1]
thanks a lot for your great help and advice.
max(a, key=lambda e:e[2])?