i'm using pandas to convert dataframes to .parquet files using this command:
df.to_parquet(file_name, engine='pyarrow', compression='gzip')
I need to use zstandard as compression algorithm, but the function above accepts only gzip, snappy, and brotli. I tried Is there a way to include zstd in this function? If not, how can i do that with other packages? I tried with zstandard, but it seems to accept only bytes-like objects.
It seems it is not supported yet:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_parquet.html