select only object columns pandas code example
Example 1: select only object columns pandas
df.select_dtypes(include=['object']).columns
Example 2: select only object columns pandas
df.select_dtypes(include=['object']).columns
df.select_dtypes(include=['object']).columns
df.select_dtypes(include=['object']).columns