evalml.pipelines.components.DropColumns.transform

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

Transforms data X by dropping columns.

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

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

Returns

Transformed X.

Return type

pd.DataFrame