Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 48)
48.
How can you find the mean value along a specific axis in a NumPy array arr?
np.mean(arr, axis=1)
np.average(arr, axis=0)
arr.calculate_mean(axis=1)
arr.mean(axis=0)
Answer: Option
Explanation:
The np.mean() function can compute the mean along a specified axis.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.