usually when you want to remove columns which are not of type float, you can write pd.DataFrame.select_dtypes(include=\'float64\'). however i would
float
pd.DataFrame.select_dtypes(include=\'float64\')