SelectColumns.
fit
‘Fits’ the transformer by checking if the column names are present in the dataset.
X (pd.DataFrame) – Data to check.
y (pd.Series, optional) – Targets.
None.