-
Notifications
You must be signed in to change notification settings - Fork 415
Feature Request: PandasFeatureUnion #69
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
Comments
Hey @dukebody, having that as a part of sklearn-pandas is great and I'm glad it's been merged in! However, the thing I'm really looking for is a way to create a feature using |
Sorry for the long delay. You can apply transformers to a single column using a |
Check any of the issues listed in https://github.com/paulgb/sklearn-pandas/issues and see if you can help with any of them. Thanks! |
Hi folks:
An issue I have with scikit-learn's
FeatureUnion
is that you can't make it return aDataFrame
(unlike with regular transformers). It would be nice to see a variant ofFeatureUnion
that worked nicely with Pandas workflows.Here's a prototype of what I'm thinking:
You could imagine using it in a manner similar to this example. I see this as a complement to the existing
DataFrameMapper
.My example above doesn't handle indexes yet and I'd love some advice on how to implement it (ideally without having to rewrite most of
FeatureUnion
. Here are some concerns I have now:PandasFeatureUnion
accept anignore_index=True
argument?The text was updated successfully, but these errors were encountered: