Skip to content

Commit 2362992

Browse files
committed
fix: update compression type strings to lowercase in DataFrame parquet writing method doc
1 parent b5b3c47 commit 2362992

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

python/datafusion/dataframe.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -661,14 +661,14 @@ def write_parquet(
661661
path: Path of the Parquet file to write.
662662
compression: Compression type to use. Default is "ZSTD".
663663
Available compression types are:
664-
- "UNCOMPRESSED": No compression.
665-
- "SNAPPY": Snappy compression.
666-
- "GZIP": Gzip compression.
667-
- "BROTLI": Brotli compression.
668-
- "LZ0": LZ0 compression.
669-
- "LZ4": LZ4 compression.
670-
- "LZ4_RAW": LZ4_RAW compression.
671-
- "ZSTD": Zstandard compression.
664+
- "uncompressed": No compression.
665+
- "snappy": Snappy compression.
666+
- "gzip": Gzip compression.
667+
- "brotli": Brotli compression.
668+
- "lz0": LZ0 compression.
669+
- "lz4": LZ4 compression.
670+
- "lz4_raw": LZ4_RAW compression.
671+
- "zstd": Zstandard compression.
672672
compression_level: Compression level to use. For ZSTD, the
673673
recommended range is 1 to 22, with the default being 4. Higher levels
674674
provide better compression but slower speed.

0 commit comments

Comments
 (0)