df.select_dtypes

df.select_dtypes(include=None, exclude=None)
Shishir Shekhar