title: Python list of lists to dataframe - AssertionError
body: <p>I have a list of lists in python. I am trying to convert it into a dataframe. For eg = </p>
  
  <pre><code>foo = [
      [1,2,3...],
      [a,b,c...],
      [aa,bb,cc...]
  ]
  </code></pre>
  
  <p>Each of these 3 lists have 100 elements in them. I have tried the following to convert to a dataframe - </p>
  
  <pre><code>df = pandas.DataFrame(foo, columns=headers)  // where headers is ['id', 'fname', 'lname']
  df = pandas.DataFrame(foo, columns=[foo[0], foo[1], foo[2]])
  </code></pre>
  
  <p>However I am getting this error -</p>
  
  <pre><code>AssertionError: 3 columns passed, passed data had 100 columns
  </code></pre>