NumPy - Aggregation Functions
Find the error in this code snippet:
import numpy as np arr = np.array([1, 2, 3]) mean_val = np.mean(arr, axis=2) print(mean_val)
