title: Python Pandas: replace given character if found in column label
body: <p>I have a df which looks like this:</p>
  
  <pre><code>Label                        PG &amp; PCF      EE-LV  Centre    UMP     FN  
  Label                                                                    
  Très favorable                   2.68       3.95    4.20   3.33   3.05   
  Plutôt favorable                12.45      42.10   19.43   2.05   1.77   
  Plutôt défavorable              43.95      41.93   34.93  20.15  15.97   
  Très défavorable                37.28       9.11   41.44  70.26  75.99   
  Je ne sais pas                   3.63       2.91    0.10   4.21   3.22
  </code></pre>
  
  <p>I would simply like to replace "&amp;" with "and" where found, either at the column labels or index labels. </p>
  
  <p>I would've imaged that something like this wouldve worked but it didn't...</p>
  
  <pre><code>dataframe.columns.replace("&amp;","and") 
  </code></pre>
  
  <p>Any ideas?</p>