Skip to content

Commit

Permalink
fix[python]: use in (#4509)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosantama committed Aug 20, 2022
1 parent c5e73a9 commit f66be9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py-polars/polars/internals/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ def write_parquet(
statistics: bool = False,
row_group_size: int | None = None,
use_pyarrow: bool = False,
**kwargs: Any,
pyarrow_options: dict[str, object] | None = None,
) -> None:
"""
Write to Apache Parquet file.
Expand Down Expand Up @@ -1388,8 +1388,8 @@ def write_parquet(
use_pyarrow
Use C++ parquet implementation vs rust parquet implementation.
At the moment C++ supports more features.
kwargs
Arguments are passed to ``pyarrow.parquet.write_table``.
pyarrow_options
Arguments passed to ``pyarrow.parquet.write_table``.
"""
if compression is None:
Expand Down Expand Up @@ -1423,7 +1423,7 @@ def write_parquet(
where=file,
compression=compression,
write_statistics=statistics,
**kwargs,
**(pyarrow_options or {}),
)
else:
self._df.write_parquet(
Expand Down

0 comments on commit f66be9b

Please sign in to comment.