code: def _pre_transform(
      df: DataFrame,
      num_cols: List[str],
      cat_cols: List[str],
      codes: Dict,
      mean: Dict,
      std: Dict,
  ) -> DataFrame:
      df = _impute(df, num_cols)
      df = _normalize(df, num_cols, mean=mean, std=std)
      return _categorize(df, cat_cols, codes=codes)
  
file_path: lightning-flash/src/flash/tabular/classification/utils.py
imports: import logging
  from typing import Dict, List, Tuple
  import numpy
  from flash.core.utilities.imports import _PANDAS_AVAILABLE
label_desc: Use image node_id 6 for calling a global function with example usage: _pre_transform(df, num_cols, cat_cols, codes, mean, std) and returns: _categorize