code: def get_col_info(X):
      """
      If we somehow do not get col_info when creating a TT dataset, then set every feature type to CATEGORICAL.
      """
      cols = list(X.columns)
      col_info = []
      for c in cols:
          col_info.append({"name": c, "type": "CATEGORICAL"})
      return col_info
  
file_path: autogluon/tabular/src/autogluon/tabular/models/tab_transformer/utils.py
imports: import logging
  import torch
  from torch.utils.data import DataLoader, Dataset
  from .None import tab_transformer_encoder
  from .tab_transformer_encoder import NullEnc, WontEncodeError
label_desc: Use image node_id 2 for calling a global function with example usage: get_col_info(X) and returns: col_info