Quiz · NumPy and pandas · lesson 6 of 12
Quiz — axis and broadcasting shapes
What does this program print?
import numpy as np
X = np.ones((4, 3))
m = X.mean(axis=0)
print(m.shape, (X - m).shape)Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.