From 026abac3a8a87c3f2afaff0f71e6d86043038167 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 12 Jan 2018 20:23:33 +0100 Subject: [PATCH] DOC: list default compression for to_parquet follow-up on GH19131 --- pandas/core/frame.py | 4 ++-- pandas/io/parquet.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a8c4053850548..974d5bc1ff113 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -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 : {'snappy', 'gzip', 'brotli', 'None'} - Name of the compression to use. Use ``None`` for no compression + compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy' + Name of the compression to use. Use ``None`` for no compression. kwargs Additional keyword arguments passed to the engine """ diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index 0c88706a3bec2..f67b03d924d2c 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -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 : {'snappy', 'gzip', 'brotli', 'None'} - Name of the compression to use. Use ``None`` for no compression + compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy' + Name of the compression to use. Use ``None`` for no compression. kwargs Additional keyword arguments passed to the engine """