title: is there a simply way to solve this one hot encoding problem?
body: <p>this is  the data:</p>
  <pre><code>data
         Positions
  0        ST, LW
  1    CF, RW, ST
  2       LW, CAM
  3            GK
  4       CAM, CM
  5            CB
  6            ST
  7       CM, CDM
  8        LW, CF
  9            GK
  </code></pre>
  <p>here is a another list</p>
  <pre><code>lst = ['CAM',
   'CB',
   'LB',
   'LWB',
   'LW',
   'CF',
   'ST',
   'RWB',
   'GK',
   'RM',
   'LM',
   'CM',
   'CDM',
   'RW',
   'RB']
  </code></pre>
  <p>this problem is just like one hot encoding.</p>
  <p>for every rows,when a row has a element in the list, then fill  1,  if not have, fill 0.</p>
  <p>result`s shape:(10,15). list has 15 elements, number of data rows is 10.</p>
  <p>blow is a demo to describe this result.</p>
  <pre><code>CAM CB LB LW  CF
   0  0  0   1  0
   0  0  0   0  1
  </code></pre>