evalml.pipelines.components.SimpleImputer.transform

SimpleImputer.transform(X, y=None)[source]
Transforms data X by imputing missing values. ‘None’ values are converted to np.nan before imputation and are

treated as the same.

Parameters
  • X (ww.DataTable, pd.DataFrame) – Data to transform

  • y (ww.DataColumn, pd.Series, optional) – Ignored.

Returns

Transformed X

Return type

pd.DataFrame