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