I understand that one can chain several estimators that implement the transform method to transform X (the feature set) in sklearn.pipeline. However I have a use case where
You could add the label column to the end of the training data, then you apply your transformation and you delete that column before training your model. That's not very pro but enough.