We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7302e78 commit 96a8c45Copy full SHA for 96a8c45
sklearn/compose/_column_transformer.py
@@ -1238,7 +1238,7 @@ def _sk_visual_block_(self):
1238
# and if there are remainder columns to display
1239
remainder_columns = self._remainder[2]
1240
if self.remainder != "drop" and remainder_columns:
1241
- has_numeric_columns = remainder_columns and not all(
+ has_numeric_columns = not all(
1242
isinstance(col, str) for col in remainder_columns
1243
)
1244
# Convert indices to column names when feature names are available
0 commit comments