class_docstr: A processor for tabular dataframes.
class_docstr_tok: ["A","processor","for","tabular","dataframes","."]
docstr: Apply the correct function to `df` depending on `test`.
docstr_tok: ["Apply","the","correct","function","to","`","df","`","depending","on","`","test","`","."]
code: def __call__(self, df, test=False):
      "Apply the correct function to `df` depending on `test`."
      func = self.apply_test if test else self.apply_train
      func(df)
  
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 2 for calling the TabularProc obj's underlying member method code with example usage: obj.__call__(df, test) without return types