Hello,

There are some doubts that i have regarding the argmax() method of numpy.As
described in reference doc's of numpy,argmax(axis=None,out=None) returns
the indices of the maximum value along the given axis(In this case 0 is
default).

So, i tried to implement the method to a 2d array with elements
say,[[1,2,3],[4,5,6]] along the axis 1.The output to this code is [2,2] and
when i implement it along the axis 0,it outputs [1,1,1].I dont see the
connection to this output with the scope of argmax method.

I would appreciate a detailed insight to the argmax method.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to