title: How to replace substrings in strings in pandas dataframe
body: <p>I have a dataframe, and a list of strings that I want to remove from a column in that dataframe.  But when I use the replace function those characters remain.  Can someone please explain why this is the case?</p>
  
  <pre><code>bad_chars = ['?', '!', ',', ';', "'", '|', '-', '--', '(', ')', 
               '[', ']', '{', '}', ':', '&amp;', '\n']
  </code></pre>
  
  <p>and to replace:</p>
  
  <pre><code>df2['page'] = df2['page'].replace(bad_chars, '')
  </code></pre>
  
  <p>when i print out <code>df2</code>:</p>
  
  <pre><code>for index, row in df2.iterrows():
      print( row['project'] + '\t' + '(' + row['page'] + ',' + str(row['viewCount']) + ')' + '\n'  )
  </code></pre>
  
  <p>en      (The_Voice_(U.S._season_14),613)</p>