In the following code I expect that the shape of s should be (2,2) but it is only 2. Why? If I convert b in two dimensional array it works fine. But how python handles arrays have shape(2,)? If I take its transpose shape should be (1,2) but it remains(2,) indicating that it still remains row even after taking transpose. Is it compulsory to convert b int 2 dimensional array to perform element wise matrix multiplication?
`v = np.arange(6).reshape(2,3)
for i in range(1):
b =(v[:,i])
c= b.T
s = np.multiply(b,c)
print(s) #(2,)`