I found a bug in my code and while fixing that bug, and I noticed a peculiar behavior in numpy.
a = np.arange(10) # ints 0 -> 9
a[None] = 20
print(a) # output --> [20, 20, 20, 20, 20, 20, ... 20]
Why do the values in every position get replaced with 20?