title: Using pandas to read values of lists
body: <p>I am trying to use pandas read an append list and show each column, but it read each list as a column</p>
  
  <pre><code>li= []
  for k in sample:
      lines = open(k).read().splitlines()
      for i in range(num):
         lines = random.choice(lines)
         lines = lines.replace('\t',' ')
         li.append(lines)   
         data = DataFrame(li)
  </code></pre>
  
  <p>'''</p>
  
  <p>where the sample is a serious of files, and the result looks like:</p>
  
  <pre><code>                0
  0 1.0 1.0 1.0 ...
  1 1.0 1.0 1.0 ...
  .
  .
  .
  </code></pre>
  
  <p>but I would like it as:</p>
  
  <pre><code>    0    1   2 ...
  0  1.0 1.0 1.0 ...
  1  1.0 ...
  .
  .
  .
  </code></pre>