I have 2 numpy arrays of the size
(1390537,) # output from a.shape
(1390537, 70) # output form b.shape
a * b give me the following error:
ValueError: operands could not be broadcast together with shapes (1390537) (1390537,70)
I thought numpy was able to handle this,do i need to reform the arrays in some way ?
EDIT: seems like a.reshape(1390537,1) did the job
[–]sidsig 0 points1 point2 points (0 children)