title: Pandas Can't avoid SettingWithCopyWarning
body: <p>I have a dataframe like this:</p>
  
  <pre><code>A     B     C
  
  15   'ds'   '    0.000'
  32   'ds'   '    1.000'
  56   'ds'   '    2,700.000'
  45   'gb'   '    7.000'
  </code></pre>
  
  <p>I want to change the values of column <code>C</code> to integers; so what i'm doing is something like this:</p>
  
  <pre><code>df.loc[:,'C'] = df.loc[:,'C'].apply(lambda x: int(float(x.strip().replace(',',''))))
  </code></pre>
  
  <p>This do the job, however, i get that annoying <code>SettingWithCopyWarning</code>. Why this appear if i'm using <code>loc</code>?</p>