title: Recode categorical variable with multiple values to binary variable in Python
body: <p>I want to recode a categorical variable with multiple values in to a binary variable in python.</p>
  
  <p>As follows:</p>
  
  <p><strong>Column name</strong>: Donation Willingness</p>
  
  <p><strong>Values</strong>: </p>
  
  <ol>
  <li><p>Yes I want to donate: 132 female respondents</p></li>
  <li><p>No I did not donate, but I want to do it in the future: 2743 female respondents</p></li>
  <li><p>Yes I did donate, but not anymore: 138 female respondents</p></li>
  <li><p>No I did not donate, but dont want it also in the future: 10323 female respondents</p></li>
  </ol>
  
  <p>Desirable scenario is a binary variable of Donation Willingness of 1 and 0, whereby 1 = value 1 and 2, and 0 = value 3 and 4.</p>
  
  <p>How do I do this with Python? </p>
  
  <p>Thank you very much guys.</p>