If I have a dataframe with the following columns:
1. NAME object 2. On_Time object
list(df.select_dtypes(['object']).columns)
This should do the trick