evalml.pipelines.components.SimpleImputer.fit_transform

SimpleImputer.fit_transform(X, y=None)[source]

Fits imputer on data X then imputes missing values in X

Parameters
  • X (pd.DataFrame) – Data to fit and transform

  • y (pd.Series) – Labels to fit and transform

Returns

Transformed X

Return type

pd.DataFrame