Created
June 29, 2023 13:46
-
-
Save mikaelhg/dbce60a6454d80085d444058cea1cfad to your computer and use it in GitHub Desktop.
Setting zstd compression level to 22 with pandas and parquet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
df = ... | |
df.to_parquet("foobar.parquet.zst", compression='zstd', compression_level=22) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/apache/arrow/blob/26c25d1b06d3f3740bf954a493c00c090e179abf/python/pyarrow/_parquet.pyx#L1497