Skip to content

Commit 24b782f

Browse files
API ColumnTransformer.transformers_: passthrough -> FunctionTransformer (scikit-learn#27204)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
1 parent 8ae5f18 commit 24b782f

File tree

3 files changed

+132
-96
lines changed

3 files changed

+132
-96
lines changed

doc/whats_new/v1.4.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ Changelog
187187
`kdtree` and `balltree` values will be removed in 1.6.
188188
:pr:`26744` by :user:`Shreesha Kumar Bhat <Shreesha3112>`.
189189

190+
:mod:`sklearn.compose`
191+
......................
192+
193+
- |API| |FIX| :class:`~compose.ColumnTransformer` now replaces `"passthrough"`
194+
with a corresponding :class:`~preprocessing.FunctionTransformer` in the
195+
fitted ``transformers_`` attribute. :pr:`27204` by `Adrin Jalali`_.
196+
190197
:mod:`sklearn.datasets`
191198
.......................
192199

0 commit comments

Comments
 (0)