NumPy - Aggregation Functions
Why does this code raise an error?
arr = np.array([[1, 2, 3], [4, 5, 6]]) result = np.min(arr, axis=-4)
arr = np.array([[1, 2, 3], [4, 5, 6]]) result = np.min(arr, axis=-4)
arr has shape (2, 3), so ndim=2.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions