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 import export df info #17

Closed lorenz-gorini closed 4 years ago

lorenz-gorini commented 4 years ago

Added a new error exception "NotShelveFileError" to handle the case in src.pd_extras.dataframe_with_info.import_df_with_info_from_file function where the filename is not a file created using shelve module.

Added tests for src.pd_extras.dataframe_with_info.import/export_df_with_info functions. Added two fixtures for creating generic files with 'shelve' module and the builtin functions.