🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@DeaMariaLeon
Copy link
Member

@DeaMariaLeon DeaMariaLeon commented Nov 14, 2025

Reference Issues/PRs

See #32146 (comment)

What does this implement/fix? Explain your changes.

This PR corrects the ColumnTransformer dotted-line. It was wrongly including the regressor, when remainder was "passthrough".
This was wrong:
Screenshot 2025-11-25 at 18 00 13

Corrected:
Screenshot 2025-11-25 at 17 59 29

The changes on estimator.py are meant to remove '[ ]' below the regressor.

@glemaitre

Any other comments?

I don't know if changelog file is needed.

@github-actions
Copy link

github-actions bot commented Nov 14, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 471ddb0. Link to the linter CI: here

@DeaMariaLeon DeaMariaLeon changed the title BUG: Fixing remainder parameter for column transformer visual block FIX remainder parameter for column transformer visual block Nov 14, 2025
@glemaitre glemaitre self-requested a review December 12, 2025 09:28
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @DeaMariaLeon I think we can add a an entry in a changelog because it is impacting the end user.

I'm not really sure how we could write a good non-regression tests here.

@DeaMariaLeon
Copy link
Member Author

DeaMariaLeon commented Dec 12, 2025

I don't know why the changelog file is not found.
Suggestions welcomed.

edit: I don't know if I should add the file in the utils or the compose directory.

@AnneBeyer
Copy link
Contributor

I don't know why the changelog file is not found. Suggestions welcomed.

It's in the wrong folder ;)
It should be in doc/whats_new/upcoming_changes/sklearn.utils instead of sklearn/utils

@glemaitre
Copy link
Member

Let's put is in compose considering that the bug was for the representation of the ColumnTransformer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants