class_docstr: Base class for all imputers.
  
  It adds automatically support for `add_indicator`.
class_docstr_tok: ["Base","class","for","all","imputers",".","It","adds","automatically","support","for","`","add_indicator","`","."]
code: def __init__(
      self,
      *,
      missing_values=np.nan,
      add_indicator=False,
      keep_empty_features=False,
  ):
      self.missing_values = missing_values
      self.add_indicator = add_indicator
      self.keep_empty_features = keep_empty_features
  
imports: import numbers
  import warnings
  from collections import Counter
  import numpy
  import numpy.ma
  from scipy import sparse
  from ..base import BaseEstimator, TransformerMixin, _fit_context
  from ..utils import _is_pandas_na, is_scalar_nan
  from ..utils._mask import _get_mask
  from ..utils._param_validation import MissingValues, StrOptions
  from ..utils.fixes import _mode
  from ..utils.sparsefuncs import _get_median
  from ..utils.validation import FLOAT_DTYPES, _check_feature_names_in, check_is_fitted
label_desc: Use image node_id 1 to create a new _BaseImputer object from inherited base classes: TransformerMixin, BaseEstimator with example: obj = _BaseImputer()