Skip to content

DOC: Improve kwargs docs for parquet engines #62125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions pandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,12 @@ def to_parquet(
.. versionadded:: 2.1.0
kwargs
Additional keyword arguments passed to the engine.
**kwargs
Additional keyword arguments passed to the engine:
* For ``engine="pyarrow"``: passed to :func:`pyarrow.parquet.write_table`
or :func:`pyarrow.parquet.write_to_dataset` (when using partition_cols)
* For ``engine="fastparquet"``: passed to :func:`fastparquet.write`
Returns
-------
Expand Down Expand Up @@ -585,7 +589,11 @@ def read_parquet(
.. versionadded:: 3.0.0
**kwargs
Any additional kwargs are passed to the engine.
Additional keyword arguments passed to the engine:
* For ``engine="pyarrow"``: passed to :func:`pyarrow.parquet.read_table`
* For ``engine="fastparquet"``: passed to
:meth:`fastparquet.ParquetFile.to_pandas`
Returns
-------
Expand Down
Loading