title: add binary values to column dataframe based on list
body: <p>I have a dataframe 'trips' that looks like this:</p>
  
  <pre><code>    Name  Age      Stops
  a   jack   34      [A,B,C]
  b   john   30      [B]
  c  ralph   31      [A,C]
  d   olaf   32      [A,B]     
  </code></pre>
  
  <p>where the column "Stops" contains lists of stops from [A,B,C] of variable length. I have been able to create 3 additional columns with zero values for A,B,C with:</p>
  
  <pre><code> for col in list_stops:
       trips[col] = 0
  </code></pre>
  
  <p>I would like for each row, add a binary values 0/1 to the new columns based on the values of each list such that the new dataframe looks like this:</p>
  
  <pre><code>    Name  Age      Stops    A   B   C
  a   jack   34      [A,B,C]  1   1   1
  b   john   30      [B]      0   1   0
  c  ralph   31      [A,C]    1   0   1
  d   olaf   32      [A,B]    1   1   0
  </code></pre>