tsfresh
tsfresh copied to clipboard
feature extraction output gives columns in different order for different datasets
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!
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?