title: How to use str.get_dummies with prefix in Python?
body: <p><code>pd.get_dummies()</code> supports <code>prefix</code> (<a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.apply.html" rel="nofollow noreferrer">ref</a>).</p>
  
  <p>How to use <code>prefix</code> with the following?</p>
  
  <pre><code>dummies = data_df['genres_names'].str.get_dummies()
  </code></pre>
  
  <p><code>get_dummies(prefix='genre')</code> throws an error:</p>
  
  <pre><code>TypeError: get_dummies() got an unexpected keyword argument 'prefix'
  </code></pre>