title: Pandas dataframe, ValueError: could not convert string to float:
body: <p>I'm using the scikit-learn preprocessing and random forest ensemble techniques on a Pandas dataframe of 400,000 x 600 sized dataframe (800MB). I get this value error when I pass this dataframe through the algorithms, possibly due to extra spaces somewhere in the dataframe.
  How do I clean all the spaces from my dataframe that should only contain numerical values, and absolutely no strings?</p>