Broadcasting with NumPy Arrays Single dimension array Example
# welcome to softhunt.net
import numpy as np
a = np.array([34, 23, 12]) # 1x3 Dimension array
print(a)
b = 5
print(b)
# Broadcasting happened because of
# miss match in array Dimension.
c = a + b
print(c)