title: Expanding one column to many columns with pandas?
body: <p>I am trying to sort through data from a survey I conducted, for example in my survey I asked if they were diagnosed with any of the following (ADHD, Anxiety, Depression etc). Now, in one of my columns I have multiple values for people who clicked multiple disorders. I'd like to create a column for each disorder and have it so it has a True or False value depending on if the user selected it.</p>
  
  <pre><code>{'Mental_health':
      ['ADHD, Anxiety, Depression',
       'ADHD, Depression, PTSD',
       'Anxiety, Borderline Personality Disorder, Depression',
       'OCD',
       'Anxiety',
       'Anxiety',
       'ADHD, Anxiety, Bipolar, Borderline Personality Disorder, Depression, PTSD, Schizophrenia',
       'ADHD, Anxiety, Autism, Depression, PTSD',
       'Anxiety, Depression',
       'Depression',
       'Depression',
       'None of the above',
       'Autism, Depression, PTSD',
       'None of the above',
       'ADHD, PTSD']
  }
  </code></pre>