My question is similar to this one.
I want to convert all the values in the dataframe to float type. But what is need more is to ignore the rows where such conversions cannot happen.
For example, given a string '0.9', it will be converted to float successfully but a string like 'why' will through an error. I want to remove all such rows in the dataframe which would come under the error case.