Skip to content

Commit 56965f4

Browse files
committed
fix: improve docstring formatting for DataFrame parquet writing method
1 parent 819de0d commit 56965f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

python/datafusion/dataframe.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,11 @@ def write_parquet(
626626
"""Execute the :py:class:`DataFrame` and write the results to a Parquet file.
627627
628628
Args:
629-
path (str | pathlib.Path): The file path to write the Parquet file.
630-
compression (str): The compression algorithm to use. Default is "ZSTD".
631-
compression_level (int | None): The compression level to use. For ZSTD, the
632-
recommended range is 1 to 22, with the default being 4. Higher levels
633-
provide better compression but slower speed.
629+
path: Path of the Parquet file to write.
630+
compression: Compression type to use. Default is "ZSTD".
631+
compression_level: Compression level to use. For ZSTD, the
632+
recommended range is 1 to 22, with the default being 4. Higher levels
633+
provide better compression but slower speed.
634634
"""
635635
if compression == "ZSTD":
636636
if compression_level is None:

0 commit comments

Comments
 (0)