evalml.pipelines.components.SimpleImputer.transform

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

Transforms input by imputing missing values. ‘None’ and np.nan values 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

ww.DataTable