diff --git a/pandas/core/frame.py b/pandas/core/frame.py index aad7213c93a1d..d98c6d1c5cfba 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2564,6 +2564,13 @@ def to_feather(self, path: FilePathOrBuffer[AnyStr], **kwargs) -> None: `compression_level`, `chunksize` and `version` keywords. .. versionadded:: 1.1.0 + + Notes + ----- + 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`. """ from pandas.io.feather_format import to_feather