title: pandas get dummies for column with list
body: <p>Input:- </p>
  
  <pre><code>empNo         name    
  
  1234         [ AB, DE ] 
  5678         [ FG, IJ ] 
  </code></pre>
  
  <p>Command:-</p>
  
  <pre><code>dataFrame = dataFrame.join(dataFrame.name.str.join('|').str.get_dummies().add_prefix('dummy_name_'))
  </code></pre>
  
  <p>The above command brings  dummy "for each character of the column name"</p>
  
  <p>Output:- </p>
  
  <pre><code>empNo         name              dummy_name_A        dummy_name_B     dummy_name_D     dummy_name_E  dummy_name_F    dummy_name_G    dummy_name_I    dummy_name_J
  
  1234         [ AB, DE ]             1                   1               1                   1           0               0               0               0
  5678         [ FG, IJ ]             0                   0               0                   0           1               1               1               1
  </code></pre>
  
  <p>Expected:- </p>
  
  <pre><code>empNo         name              dummy_name_AB       dummy_name_DE    dummy_name_FG  dummy_name_IJ   
  
  1234         [ AB, DE ]             1                   1                   0               0               
  5678         [ FG, IJ ]             0                   0                   1               1   
  </code></pre>