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