def transform(self, X):
        return _transform_selected(X, self._transform,
                                   self.categorical_features, copy=True)
Transform X using one-hot encoding.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/preprocessing/data.py/OneHotEncoder.transform