NumPy - Aggregation Functions
The following code throws an error. What is the problem?
import numpy as np arr = np.array([4, 8, 6]) print(np.min(arr, axis=1))
import numpy as np arr = np.array([4, 8, 6]) print(np.min(arr, axis=1))
arr is one-dimensional (shape (3,)).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions