Skip to content

Commit c540796

Browse files
committed
Mention possible compression options in docstring
1 parent 68f83bb commit c540796

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pyarrow/parquet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ def _sanitize_table(table, new_schema, flavor):
251251
Valid values: {None, 'ms', 'us'}
252252
compression : str or dict
253253
Specify the compression codec, either on a general basis or per-column.
254+
Valid values: {'NONE', 'SNAPPY', 'GZIP', 'LZO', 'BROTLI', 'LZ4', 'ZSTD'}
254255
flavor : {'spark'}, default None
255256
Sanitize schema or set other compatibility options for compatibility"""
256257

0 commit comments

Comments
 (0)