title: Can't remove space from value in pandas DataFrame
body: <p>These are the values in my DataFrame</p>
  <p><a href="https://i.stack.imgur.com/72hvT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/72hvT.png" alt="enter image description here" /></a></p>
  <p>What I am trying to do, is to change the datatype of columns from string to float, but I can't because some of the values in <code>df</code> are written with the space.</p>
  <p>What I've already tried:</p>
  <pre><code>df['Value'] = df['Value'].str.strip()
  df['Value'] = df['Value'].str.replace(' ','')
  </code></pre>
  <p>Nothing helps... Anyone got any ideas?</p>