NumPy - Aggregation Functions
What will this code print?
import numpy as np arr = np.array([[1, 2], [3, 4]]) print(np.sum(arr, axis=0))
import numpy as np arr = np.array([[1, 2], [3, 4]]) print(np.sum(arr, axis=0))
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions