NumPy - Aggregation Functions
What is wrong with this code?
import numpy as np arr = np.array([[1, 2], [3, 4]]) mean_val = np.mean(arr, axis='0') print(mean_val)
