cellpy icon indicating copy to clipboard operation
cellpy copied to clipboard

Add basic support for reading parquet for custom instruments

Open morrowrasmus opened this issue 1 year ago • 0 comments

This PR adds basic support for parquet-files for custom instruments, in addition to the already existing formats .csv, .xls and .xlsx, through the use of the pandas.read_parquet().

Only allows specification of the engine (auto (default), pyarrow or fastparquet), but additional parameters could be added later if needed.

Have not included any additional requirements, as the relevant engine is imported from within pandas, but if file_format is set to parquet in the instrument YAML-file without the user having installed either pyarrow or fastparquet, it will fail.

morrowrasmus avatar Oct 01 '24 14:10 morrowrasmus