set list as value in a column of a pandas dataframe : <p>Let's say I have a dataframe <code>df</code> and I would like to create a new column filled with 0, I use:</p>

<pre><code>df['new_col'] = 0
</code></pre>

<p>This far, no problem. But if the value I want to use is a list, it doesn't work:</p>

<pre><code>df['new_col'] = my_list

ValueError: Length of values does not match length of index
</code></pre>

<p>I understand why this doesn't work (pandas is trying to assign one value of the list per cell of the column), but how can we avoid this behavior? (if it isn't clear I would like every cell of my new column to contain the same predefined list)</p>

<p>Note: I also tried: <code>df.assign(new_col = my_list)</code>, same problem</p>
