-
-
Notifications
You must be signed in to change notification settings - Fork 26k
FIX Avoid unexpected error in make_column_transformer when columns is pandas Index #12704
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 Avoid unexpected error in make_column_transformer when columns is pandas Index #12704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix.
...................... | ||
|
||
- |Fix| Fixed an issue in :func:`compose.make_column_transformer` which raises | ||
unexpected error when columns is pandas Index or pandas Series. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use `pandas.Index`
and it will be linked, if we like.
…as.Index (scikit-learn#12704)" This reverts commit 41bd889.
…as.Index (scikit-learn#12704)" This reverts commit 41bd889.
Fixes #12703