code: def cate_col_with_index(self, df):
      df = df.convert_dtypes()
      di = dict(df.dtypes)
      c = df.columns
  
      sample_df = pd.DataFrame(["a", "b", "c"])
      sample_df = sample_df.convert_dtypes()
      sample_df_dic = dict(sample_df.dtypes)
  
      cate = []
      index = []
      j = 0
      for i in c:
          try:
              if di[i] == sample_df_dic[0]:
                  cate.append(i)
                  index.append(j)
          except:
              pass
          j = j + 1
  
      return cate, index
  
file_path: explainx/lib/rescale_numeric_feature.py
imports: from imports import *
label_desc: Use image node_id 5 for calling the get_cols obj's underlying member method code with example usage: obj.cate_col_with_index(df) and returns: cate,  index