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