evalml.pipelines.components.DropColumns.fit_transform

DropColumns.fit_transform(X, y=None)

Fit transformer to data, then transform data.

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

  • y (pd.Series, optional) – Targets.

Returns

Transformed X.

Return type

pd.DataFrame