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 """