Kelompokkan kolom data Anda berdasarkan tipe data mereka

grouped = df.groupby(df.dtypes, axis = 1)

for dtype, group in grouped:
    print(dtype)
    print(group)
Troubled Thrush