diff --git a/sklego/preprocessing/identitytransformer.py b/sklego/preprocessing/identitytransformer.py index bf291f00..33dda462 100644 --- a/sklego/preprocessing/identitytransformer.py +++ b/sklego/preprocessing/identitytransformer.py @@ -3,7 +3,7 @@ from sklearn.utils.validation import check_is_fitted -class IdentityTransformer(BaseEstimator, TransformerMixin): +class IdentityTransformer(TransformerMixin, BaseEstimator): """The `IdentityTransformer` returns what it is fed. Does not apply any transformation. The reason for having it is because you can build more expressive pipelines.