I have a numpy array as
[[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
...,
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]]
I would like to have it as
0
0
0
.
.
0
0
I know that we have to use the reshape function, but how to use it, is I am not able to figure out,
my attempt
np.reshape(new_arr, newshape=1)
Which gives an error
ValueError: total size of new array must be unchanged
The documentation isn't very friendly