Skip to content

DOC: Add documentation regarding no compression in to_parquet #19131

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 1 commit into from
Jan 8, 2018
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1670,8 +1670,8 @@ def to_parquet(self, fname, engine='auto', compression='snappy',
Parquet reader library to use. If 'auto', then the option
'io.parquet.engine' is used. If 'auto', then the first
library to be installed is used.
compression : str, optional, default 'snappy'
compression method, includes {'gzip', 'snappy', 'brotli'}
compression : {'snappy', 'gzip', 'brotli', 'None'}
Name of the compression to use. Use ``None`` for no compression
kwargs
Additional keyword arguments passed to the engine
"""
Expand Down
4 changes: 2 additions & 2 deletions pandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ def to_parquet(df, path, engine='auto', compression='snappy', **kwargs):
Parquet reader library to use. If 'auto', then the option
'io.parquet.engine' is used. If 'auto', then the first
library to be installed is used.
compression : str, optional, default 'snappy'
compression method, includes {'gzip', 'snappy', 'brotli'}
compression : {'snappy', 'gzip', 'brotli', 'None'}
Name of the compression to use. Use ``None`` for no compression
kwargs
Additional keyword arguments passed to the engine
"""
Expand Down