I dont know if I put the question correctly.. For example, I want
1
0
1
0
1
0
1
0
change into
1 0 1
0 1 0
1 0 x
The first list should not be changed.. and change the type to DataFrame..
I try use numpy.array, flatten the array. and reshape to columns using reshape(-1,3).T .. but since there are some missing value to it.. I cannot reshape the array properly..