Skip to content

Commit d8e131c

Browse files
authored
DOC add feature_names_in_ in the docsring of ColumnTransformer (#27130)
1 parent a9b1c07 commit d8e131c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sklearn/compose/_column_transformer.py

+6
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ class ColumnTransformer(TransformerMixin, _BaseComposition):
172172
173173
.. versionadded:: 0.24
174174
175+
feature_names_in_ : ndarray of shape (`n_features_in_`,)
176+
Names of features seen during :term:`fit`. Defined only when `X`
177+
has feature names that are all strings.
178+
179+
.. versionadded:: 1.0
180+
175181
See Also
176182
--------
177183
make_column_transformer : Convenience function for

0 commit comments

Comments
 (0)