I have two arrays with shapes:
z1.shape
(74L, 1L)
z2.shape
(74L,)
why does on multiplication it produces 74x74 size array:
z3 = np.multiply(z1,z2)
z3.shape
(74L, 74L)
I was expecting an element by element multiplication to achieve z3 of shape (74L, 1L)
How do I achieve the z3 as element by element multiplication of z1 and z2
z1 * z2[None,:], a (74,1)*(1,74)