title: Adding the same list to each row in a pandas DataFrame in a new column
body: <p>In a pandas DataFrame, <code>foo</code> for example:</p>
  
  <pre><code>&gt;&gt;&gt; foo
     col1  col2
  0     1     0
  1     2     0
  2     3     1
  </code></pre>
  
  <p>If you want to add a new column, all with the same value you can do</p>
  
  <pre><code>&gt;&gt;&gt; foo['col3'] = 1
  &gt;&gt;&gt; foo
     col1  col2  col3
  0     1     0     1
  1     2     0     1
  2     3     1     1
  </code></pre>
  
  <p>If you want to add another new column, all with specific values you can do</p>
  
  <pre><code>&gt;&gt;&gt; foo['col4'] = ['a', 'b', 'c']
  &gt;&gt;&gt; foo
     col1  col2  col3  col4
  0     1     0     1     a
  1     2     0     1     b
  2     3     1     1     c
  </code></pre>
  
  <p>But what I want to do is add the same list to each row as new column. Something like</p>
  
  <pre><code>&gt;&gt;&gt; myList = [True, False, False, True]
  &gt;&gt;&gt; foo['col5'] = {...something something something...}
  &gt;&gt;&gt; foo
     col1  col2  col3  col4                        col5
  0     1     0     1     a  [True, False, False, True]
  1     2     0     1     b  [True, False, False, True]
  2     3     1     1     c  [True, False, False, True]
  </code></pre>
  
  <p>Using the previous method results in <code>ValueError('Length of values does not match length of ' 'index')</code>. So at the moment, my <code>{...something something something...}</code> line is <code>foo['col5'] = [myList] * foo.shape[0]</code>. But I'm wondering, is there a better way?</p>