title: convert string to float: '998 CC'
body: <p>I ran the code below:</p>
  <pre><code>if isinstance(Engine, str):
          return float(Engine.replace('cc', ''))
      else:
          return np.nan
  </code></pre>
  <p>I got the error below; because there is space between 988 and CC</p>
  <pre><code>ValueError: could not convert string to float: '998 CC'
  </code></pre>
  <p>How should I convert string to float: '998 CC' to 998 without space and CC</p>