Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 72)
72.
How can you find the maximum value along a specific axis in a NumPy array arr?
np.max(arr)
arr.maximum(axis=0)
np.maximum(arr, axis=0)
np.max(arr, axis=0)
Answer: Option
Explanation:
The np.max() function can be used with the axis parameter to find the maximum value along a specific axis.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.