-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Conversation
c618df8
to
1f6bc74
Compare
pandas/core/frame.py
Outdated
@@ -1671,7 +1671,8 @@ def to_parquet(self, fname, engine='auto', compression='snappy', | |||
'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'} | |||
Available compression methods are {'gzip', 'snappy', 'brotli'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you reformat this as
compression : {'snappy', 'gzip', 'brotli', None}
Name of the compression to use. Use ``None`` for no compression
So that it follows https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt (section 4)
Same for down below.
1f6bc74
to
5b65ed8
Compare
@TomAugspurger 👍 Done. |
Codecov Report
@@ Coverage Diff @@
## master #19131 +/- ##
=======================================
Coverage 91.53% 91.53%
=======================================
Files 148 148
Lines 48780 48780
=======================================
Hits 44651 44651
Misses 4129 4129
Continue to review full report at Codecov.
|
Thanks @ylogx. Was there an issue for this? |
@TomAugspurger Nope, I felt that this change could be discussed over the PR itself. |
No description provided.