title: How to change one column of data to multiple column based on row using Python Pandas?
body: <p>I dont know if I put the question correctly..
  For example, I want</p>
  <pre><code>1
  0
  1
  0
  1
  0
  1
  0
  
  </code></pre>
  <p>change into</p>
  <pre><code>1  0  1  
  0  1  0
  1  0  x
  
  </code></pre>
  <p>The first list should not be changed..
  and change the type to DataFrame..</p>
  <p>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..</p>