Examples
import numpy as np
import pandas as pd
df = pd.DataFrame({'p': [2, 3] * 4,
'q': [True, False] * 4,
'r': [2.0, 3.0] * 4})
df
df.select_dtypes(include='bool')
df.select_dtypes(include=['float64'])
df.select_dtypes(exclude=['int'])