diff --git a/sklearn/preprocessing/_encoders.py b/sklearn/preprocessing/_encoders.py index df35c7b811443..d89d4e1e3d19d 100644 --- a/sklearn/preprocessing/_encoders.py +++ b/sklearn/preprocessing/_encoders.py @@ -702,9 +702,6 @@ def get_feature_names(self, input_features=None): def get_feature_names_out(self, input_features=None): """Get output feature names for transformation. - Returns `input_features` as this transformation doesn't add or drop - features. - Parameters ---------- input_features : array-like of str or None, default=None