title: How can I fill a DataFrame column with a list of e.g. 2 values in Pandas Python?
body: <p>That question is probably quite simple, but I am a python beginner:</p>
  
  <p>I want to create a DataFrame column for a given DataFrame = df and fill it with a list of values. It's absolutely clear to me how I fill it with one value:</p>
  
  <pre><code>df["xyz"] = 1
  </code></pre>
  
  <p>but this doesn't work:</p>
  
  <pre><code>df["xyz"] = [0,1]
  </code></pre>
  
  <p>I want to fill the column with 0,1,0,1,0,1...</p>
  
  <p>Do you know how to solve that? Also for longer lists?</p>