title: Assigning 2D list to 2 Dataframe columns Pandas
body: <p>I have tried the following and got error:  </p>
  
  <pre><code>&gt;&gt;&gt; import pandas as pd
  &gt;&gt;&gt; df = pd.DataFrame([[0,0],[2,2]])
  &gt;&gt;&gt; df
     0  1
  0  0  0
  1  2  2
  &gt;&gt;&gt; y = [[0,0],[2,2],[3,3]]
  &gt;&gt;&gt; df["s","d"] = y
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Python35\lib\site-packages\pandas\core\frame.py", line 3119, in __setitem__
      self._set_item(key, value)
    File "C:\Python35\lib\site-packages\pandas\core\frame.py", line 3194, in _set_item
      value = self._sanitize_column(key, value)
    File "C:\Python35\lib\site-packages\pandas\core\frame.py", line 3391, in _sanitize_column
      value = _sanitize_index(value, self.index, copy=False)
    File "C:\Python35\lib\site-packages\pandas\core\series.py", line 4001, in _sanitize_index
      raise ValueError('Length of values does not match length of ' 'index')
  ValueError: Length of values does not match length of index
  &gt;&gt;&gt; df[["s","d"]] = y
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Python35\lib\site-packages\pandas\core\frame.py", line 3116, in __setitem__
      self._setitem_array(key, value)
    File "C:\Python35\lib\site-packages\pandas\core\frame.py", line 3142, in _setitem_array
      indexer = self.loc._convert_to_indexer(key, axis=1)
    File "C:\Python35\lib\site-packages\pandas\core\indexing.py", line 1327, in _convert_to_indexer
      .format(mask=objarr[mask]))
  KeyError: "['s' 'd'] not in index"
  </code></pre>
  
  <p>Let me know how i can create 2 columns with 2D array simultaneously.</p>