title: list in a 2D list a column python
body: <pre class="lang-py prettyprint-override"><code>main_list=[
      ['1', '2', '3'],
      ['800800', '802100', '800905'],
      ['Kartoffel  -FESTKOCHEND-', 'Princes/Belana', '(1  x  25  kg./Sack)', 'Orangen,  Press-/Saftorangen', '(1  x  90er-St./Ktn.)', 'Möhren,  lose  (gross', '(1  x  10  Kg/Sack)'],
      ['30', '56', '35'],
      ['1', '1', '1'],
      ['30,00  KG', '56,00  Kin.', '35,00  KG'],
      ['10,00', '10,00', '6,80'],
      ['300,00”  1', '/', '560,00  1', '238.00‘  4']
  ]
  </code></pre>
  <p>I want to make each list in a 2-dimensional list a column and add as many headers as there are columns. but in my code every element comes as a line.</p>
  <pre><code>dataFrame = pd.DataFrame(data=main_list)
  cols = list(dataFrame.columns.values)
  index = 1   
  for column in cols:
      cols[index-1] = &quot;unnamed&quot;+str(index)                    
      index += 1 
  newDataFrame = pd.DataFrame(main_list,columns=cols) 
  </code></pre>