Skip to content

Commit

Permalink
[DOCS] Fix typo in write_parquet's parameters (#3252)
Browse files Browse the repository at this point in the history
Should be `write_mode` not `mode`.
  • Loading branch information
desmondcheongzx authored Nov 8, 2024
1 parent 54e58df commit e27e2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daft/dataframe/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def write_parquet(
Args:
root_dir (str): root file path to write parquet files to.
compression (str, optional): compression algorithm. Defaults to "snappy".
mode (str, optional): Operation mode of the write. `append` will add new data, `overwrite` will replace table with new data. Defaults to "append".
write_mode (str, optional): Operation mode of the write. `append` will add new data, `overwrite` will replace table with new data. Defaults to "append".
partition_cols (Optional[List[ColumnInputType]], optional): How to subpartition each partition further. Defaults to None.
io_config (Optional[IOConfig], optional): configurations to use when interacting with remote storage.
Expand Down

0 comments on commit e27e2f5

Please sign in to comment.