I have list
s=[[1,0,1,0],[1,0,0,0],[1,0,0,1],[1,0,0,0]]
I want change the shape of this list from (4,4) to (4,1)
I tried this code:
for elem in s:
Output.append(elem)
then :
s.reshape((4,1))
I need code that considers [1,0,1,0] as one value