select categorical columns pandas

165

Get all the categorical column from the dataframe using python -

dfName.select_dtypes(include=['object']).columns.tolist()

Comments

Submit
0 Comments