evalml.pipelines.components.PerColumnImputer.fit_transform

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

Fits imputer and imputes missing values in input data.

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