title: Python: Create two dummy columns from one column
body: <p>I have a one column Pandas dataframe:</p>
  <pre><code>'asdf'
  
  0
  1
  1
  1
  0
  ...
  1
  </code></pre>
  <p>How do I turn it into:</p>
  <pre><code>1    0
  0    1
  0    1
  0    1
  1    0
  </code></pre>
  <p>such that the first column is the &quot;0&quot; column and the second column is the &quot;1&quot; column and both are dummy variables?</p>