title: What's the best way to transform Array values in one column to columns of the original DataFrame?
body: <p>I have a table where one of the columns is an Array of binary features, they are there when that feature is present. </p>
  
  <p>I'd like to train a logistic model on these rows, but can't get the data in the required format where each feature value is it's own column with a 1 or 0 value. </p>
  
  <p>Example:</p>
  
  <pre><code>id    feature values
  1     ['HasPaws', 'DoesBark', 'CanFetch']
  2     ['HasPaws', 'CanClimb', 'DoesMeow']
  </code></pre>
  
  <p>I'd like to get it to the format of </p>
  
  <pre><code>id    HasPaws    DoesBark    CanFetch    CanClimb    DoesMeow
  1     1          1           1           0           0
  2     1          0           0           1           0
  </code></pre>
  
  <p>It seems like there would be some functionality built in to accomplish this, but I can't think of what this transformation is called to do a better search on my own. </p>