HK3-Lab-Team / pytrousse

PyTrousse collects into one toolbox a set of data wrangling procedures tailored for composing reproducible analytics pipelines.
Apache License 2.0
0 stars 1 forks source link

Test get enc column or original #11

Closed lorenz-gorini closed 4 years ago

lorenz-gorini commented 4 years ago

Fixed get_original_from_enc_column and get_enc_from_original_column methods according to the previous modification of the FeatureOperation constructor default values Changed from sklearn.preprocessing.OneHotEncoder to EncodingFunctions.ONEHOT (to exploit the Enum that gathers the supported functions for encoding. Added tests for get_enc_column_from_origina and get_original_from_enc_column methods. Added a FeatureOperation to df_info_with_operations fixture.