So trennen Sie numerische und kategoriale Variablen in Python
df.loc[:,df.dtypes==np.object]
Tense Termite
df.loc[:,df.dtypes==np.object]