From 5b65ed8002aab7af4361d2a55eaf07e72a224a14 Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Mon, 8 Jan 2018 12:35:11 +0530 Subject: [PATCH] DOC: Add documentation regarding no compression in to_parquet --- 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 62993a3d168db..a8c4053850548 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 : 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 """ diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index e431c9447e8f8..0c88706a3bec2 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 : 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 """