Here is a second array of 4 rows x 1 col
We can add them, and in the process the second array is "broadcast" to the same shape as the first one:
An array of a single row and 3 cols works the same:
Now, it is possible to make a 1D array, e.g.:
And again, we can add A + B:
But this doesn't work if the number of columns doesn't match:
We need to call
newaxis
: