DataFrame.to_feather(path, **kwargs)[source]

Write a DataFrame to the binary Feather format.

pathstr or file-like object

If a string, it will be used as Root Directory path.

**kwargs :

Additional keywords passed to pyarrow.feather.write_feather(). Starting with pyarrow 0.17, this includes the compression, compression_level, chunksize and version keywords.

New in version 1.1.0.


This function writes the dataframe as a feather file. Requires a default index. For saving the DataFrame with your custom index use a method that supports custom indices e.g. to_parquet.