code: def cont_cat_split(df, max_card=20, label_columns=[]):
      "Helper function that returns column names of cont and cat variables from given df."
      cont_names, cat_names = [], []
      for col in df:
          if col in label_columns:
              continue
          if (
              df[col].dtype == int
              and df[col].unique().shape[0] > max_card
              or df[col].dtype == float
          ):
              cont_names.append(col)
          else:
              cat_names.append(col)
      return cont_names, cat_names
  
imports: from ..None import utils
  from ..imports import *
  from ..preprocessor import Preprocessor
  from numbers import Number
  from types import SimpleNamespace
  from typing import Any, AnyStr, Callable, Collection, Dict, Hashable, Iterator, List, Mapping, NewType, Optional, Sequence, Tuple, TypeVar, Union
  from pandas.api.types import is_categorical_dtype, is_numeric_dtype
label_desc: Use image node_id 5 for calling a global function with example usage: cont_cat_split(df, max_card, label_columns) and returns: cont_names,  cat_names