code: def _fillna_col(column: pd.Series, value: Any):
      if isinstance(column.dtype, pd.CategoricalDtype):
          return column.cat.add_categories([value]).fillna(value=value)
      if is_integer_dtype(column):
          # nullable int series cannot be filled with a string
          return column.astype(float).fillna(value=value)
      return column.fillna(value=value)
  
file_path: deepchecks/deepchecks/tabular/checks/train_test_validation/train_test_samples_mix.py
imports: from typing import Any, List
  import pandas
  from pandas.core.dtypes.common import is_integer_dtype
  from deepchecks.core import CheckResult
  from deepchecks.tabular import Context, TrainTestCheck
  from deepchecks.utils.abstracts.train_test_samples_mix import TrainTestSamplesMixAbstract
  from deepchecks.utils.strings import format_percent
  from deepchecks.utils.typing import Hashable
label_desc: Use image node_id 4 for calling a global function with example usage: _fillna_col(column, value) and returns: column, column, column