diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 48a5596e00061..e8c0c5f2c9e7b 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2958,7 +2958,8 @@ def to_parquet( is expected and consistent with pandas' handling of categorical data. To manage file size and ensure a more predictable roundtrip process, consider using :meth:`Categorical.remove_unused_categories` on the - DataFrame before saving. + DataFrame before saving + * When using the "pyarrow" engine, `DataFrame.attrs` are stored as part of the file's metadata and restored on reading. Examples --------