evalml.pipelines.components.SelectColumns.transform

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

Transforms data X by selecting columns.

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

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

Returns

Transformed X.

Return type

pd.DataFrame