Skip to content
RED SAGSkills
easy5 pts · first answer countsnumpybroadcasting

Broadcasting a column and a row

What does this code print?

import numpy as np
a = np.ones((3, 1))
b = np.ones((1, 4))
print((a + b).shape)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions