select categorical columns pandas

140

Get all the categorical column from the dataframe using python -

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

Comments

Submit
0 Comments