Cómo obtener solo las columnas de un DATFRame que tiene un tipo de datos en particular

# this will whow the columns of a dataframe which have datatype as int and float
df.select_dtypes(include=['int64', 'float64'])
Contended Cobra