title: problem cleaning characters/str from a column and make it an int
body: <p>I wrote this function to clean the + and , out of a column:</p>
  <pre class="lang-py prettyprint-override"><code>def data_clean_installs(x):
      if '+' in x:
          return float(x.replace('+',''))
      elif ',' in x:
          return float(x.replace(',',''))
      else:
          return float(x)
  </code></pre>
  <p>I want to use the function to make a new int column called 'Clean_Installs' and ran this:</p>
  <pre class="lang-py prettyprint-override"><code>apr['Clean_Installs'] = apr.Installs.astype('str').apply(data_clean_installs).apply(int)
  </code></pre>
  <p>and get this <code>ValueError: could not convert string to float: '10,000'</code></p>
  <p>I tried everything I can think of, too much to put here and will take any inputs please... Oh, I am new and this is my first question ever. Sorry if I violated any rules... Really hope someone can help. Thanks!</p>