Группируйте столбцы данных по типам данных
grouped = df.groupby(df.dtypes, axis = 1)
for dtype, group in grouped:
print(dtype)
print(group)
Troubled Thrush
grouped = df.groupby(df.dtypes, axis = 1)
for dtype, group in grouped:
print(dtype)
print(group)