NumPy - Broadcasting
Find the mistake in this code that causes a broadcasting error:
import numpy as np X = np.array([[1, 2, 3], [4, 5, 6]]) Y = np.array([1, 2]) Z = X + Y
