Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Enforce strict column name order/count in ColumnTransformer #18256

Merged
merged 7 commits into from Nov 26, 2020

Conversation

madhuracj
Copy link
Contributor

@madhuracj madhuracj commented Aug 25, 2020

Reference Issues/PRs

See #14223, #14237, #14251 and #14544

What does this implement/fix? Explain your changes.

This PR enforces strict column name order and count in ColumnTransformer and cleans up the intermediary codes that were used while the previous behaviour was being deprecated.
Basically, these changes are TODOs marked for v0.24.

Any other comments?

@madhuracj
Copy link
Contributor Author

Gentle reminder.

@cmarmo
Copy link
Member

cmarmo commented Nov 24, 2020

@glemaitre @ogrisel, I've labeled as blocker because this pull request finalize some deprecations and remove TODOs for 0.24. Do you mind having a look? Thanks @madhuracj for your work and your patience.

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @madhuracj !

sklearn/compose/_column_transformer.py Outdated Show resolved Hide resolved
sklearn/compose/tests/test_column_transformer.py Outdated Show resolved Hide resolved
@glemaitre
Copy link
Contributor

I made a small pushed to make the changes and I will add an entry in what's new

Copy link
Contributor

@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

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

lgtm as well, thanks @madhuracj and @glemaitre

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan changed the title Enforce strict column name order and count in ColumnTransformer FIX Enforce strict column name order/count in ColumnTransformer Nov 26, 2020
@thomasjpfan thomasjpfan merged commit 313568b into scikit-learn:master Nov 26, 2020
5 checks passed
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.

None yet

5 participants