evalml.pipelines.components.PerColumnImputer.transform

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

Transforms input data by imputing missing values.

Parameters
  • X (ww.DataTable, pd.DataFrame or np.ndarray) – The input training data of shape [n_samples, n_features] to transform.

  • y (ww.DataColumn, pd.Series, optional) – The target training data of length [n_samples]. Ignored.

Returns

Transformed X

Return type

pd.DataFrame