pyarrow.feather.write_feather#
- pyarrow.feather.write_feather(df, dest, compression=None, compression_level=None, chunksize=None, version=2)[source]#
- Write a pandas.DataFrame to Feather format. - Parameters
- dfpandas.DataFrameorpyarrow.Table
- Data to write out as Feather format. 
- deststr
- Local destination path. 
- compressionstr, defaultNone
- Can be one of {“zstd”, “lz4”, “uncompressed”}. The default of None uses LZ4 for V2 files if it is available, otherwise uncompressed. 
- compression_levelint, defaultNone
- Use a compression level particular to the chosen compressor. If None use the default compression level 
- chunksizeint, defaultNone
- For V2 files, the internal maximum size of Arrow RecordBatch chunks when writing the Arrow IPC file format. None means use the default, which is currently 64K 
- versionint, default 2
- Feather file version. Version 2 is the current. Version 1 is the more limited legacy format 
 
- df
 
