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

feature extraction output gives columns in different order for different datasets #946

Open
alievakrash opened this issue May 31, 2022 · 1 comment
Labels

Comments

@alievakrash
Copy link

The problem:

Hi, great package! Thanks fro developping!

I am running the feature extraction on two datasets that have the same IDs but with different length. I use the same pre-determined kind_to_fc_parameters, but in the output the columns have a different order. Althought it is the same columns for both datasets.
Is there an easy fix for this?

THanks!

@gkumarg
Copy link

gkumarg commented Aug 10, 2022

Not sure if this helps, but I sorted the columns after extraction
X = X_extracted.reindex(sorted(X_extracted.columns), axis=1)
Does that help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants