DataFrame.to_parquet(fname, engine='auto', compression='snappy', **kwargs)
[source]
Write a DataFrame to the binary parquet format.
New in version 0.21.0.
Parameters: |
fname : str string file path engine : {‘auto’, ‘pyarrow’, ‘fastparquet’}, default ‘auto’ 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’} kwargs Additional keyword arguments passed to the engine |
---|
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DataFrame.to_parquet.html