evalml.pipelines.components.DropColumns.fit

DropColumns.fit(X, y=None)

‘Fits’ the transformer by checking if the column names are present in the dataset.

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

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

Returns

None.