@@ -236,9 +236,10 @@ def to_parquet(df, path, engine='auto', compression='snappy', **kwargs):
236
236
path : string
237
237
File path
238
238
engine : {'auto', 'pyarrow', 'fastparquet'}, default 'auto'
239
- Parquet reader library to use. If 'auto', then the option
240
- 'io.parquet.engine' is used. If 'auto', then the first
241
- library to be installed is used.
239
+ Parquet library to use. If 'auto', the value from
240
+ ``io.parquet.engine`` is used. The default ``io.parquet.engine``
241
+ behavior is to try 'pyarrow', falling back to 'fastparquet' if
242
+ 'pyarrow' is unavailable.
242
243
compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy'
243
244
Name of the compression to use. Use ``None`` for no compression.
244
245
kwargs
@@ -263,9 +264,10 @@ def read_parquet(path, engine='auto', columns=None, **kwargs):
263
264
264
265
.. versionadded 0.21.1
265
266
engine : {'auto', 'pyarrow', 'fastparquet'}, default 'auto'
266
- Parquet reader library to use. If 'auto', then the option
267
- 'io.parquet.engine' is used. If 'auto', then the first
268
- library to be installed is used.
267
+ Parquet library to use. If 'auto', the value from
268
+ ``io.parquet.engine`` is used. The default ``io.parquet.engine``
269
+ behavior is to try 'pyarrow', falling back to 'fastparquet' if
270
+ 'pyarrow' is unavailable.
269
271
kwargs are passed to the engine
270
272
271
273
Returns
0 commit comments