title: Pandas Python : how to create multiple columns from a list
body: <p>I have a list with columns to create :</p>
  <pre><code>new_cols = ['new_1', 'new_2', 'new_3']
  </code></pre>
  <p>I want to create these columns in a dataframe and fill them with zero :</p>
  <pre><code>df[new_cols] = 0
  </code></pre>
  <p>Get error :</p>
  <pre><code>&quot;['new_1', 'new_2', 'new_3'] not in index&quot;
  </code></pre>
  <p>which is true but unfortunate as I want to create them...</p>
  <p>EDIT : This is a duplicate of this question : <a href="https://stackoverflow.com/questions/30926670">Add multiple empty columns to pandas DataFrame</a> however I keep this one too because the accepted answer here was the simple solution I was looking for, and it was not he accepted answer out there</p>
  <p>EDIT 2 : While the accepted answer is the most simple, interesting one-liner solutions were posted below</p>