Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 58)
58.
Given a NumPy array
arr = np.array([5, 2, 8, 1, 7]), what does np.argmax(arr) return?Answer: Option
Explanation:
The
np.argmax() function returns the index of the maximum value in the array.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers