code: def get_obj_cols(df):
      
      obj_cols = []
      for idx, dt in enumerate(df.dtypes):
          if dt == 'object' or is_category(dt):
              obj_cols.append(df.columns.values[idx])
  
      return obj_cols
docs: Returns names of 'object' columns in the DataFrame.