Open shouryakhanna opened 1 year ago
I'd really appreciate it if support for the parquet format could be added, since it's a much quicker format for large dataframes when saving and loading tables.
Maybe the information in the header could be stored in an accompanying metadata file or in the filename?
HDF files would allow for information to be stored in headers and would allow for smaller file sizes, but wouldn't be nearly as fast as using parquet. (see second link above)
You can add a keyword argument e.g. format='csv'
and then use it in all the filenames transparently. The only place that needs more is for pandas calls. You will have to do a getatrr(df, r'to_{format}')
to get the writing function (and similarly for reading)
Add functionality to save downloaded queries in different file formats to avoid heavy csv files. How to handle additional header information will have to be sorted out.