Python DataFrame Получите числовые столбцы
dfnew = df.select_dtypes(include=np.number)
Panicky Pony
dfnew = df.select_dtypes(include=np.number)
df.select_dtypes(include=np.number)
#return a dataframe containing only numeric columns
dfnew = df._get_numeric_data()