I have an empty numpy array (let's call it a
), which is for example (1200, 1000)
in size.
There are several numpy arrays that I want to get sum of them and save them in the array a
.
The size of these arrays (b_i
) are like (1200, y)
, and y
is max=1000
.
Simply writing a code such as:
a = a + b_i
didn't work because of second dimension mismatch.
How can I solve that?