NumPy - Aggregation Functions
What is the output of the following code?
import numpy as np arr = np.array([[3, 7, 2], [5, 1, 9]]) print(np.min(arr, axis=0))
import numpy as np arr = np.array([[3, 7, 2], [5, 1, 9]]) print(np.min(arr, axis=0))
axis=0 means finding the minimum value down each column.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions