Skip to content

Commit 0d95b2a

Browse files
authored
Update frame.py
1 parent 8de38e8 commit 0d95b2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,8 @@ def to_parquet(
29582958
is expected and consistent with pandas' handling of categorical data.
29592959
To manage file size and ensure a more predictable roundtrip process,
29602960
consider using :meth:`Categorical.remove_unused_categories` on the
2961-
DataFrame before saving.
2961+
DataFrame before saving
2962+
* When using the "pyarrow" engine, `DataFrame.attrs` are stored as part of the file's metadata and restored on reading.
29622963
29632964
Examples
29642965
--------

0 commit comments

Comments
 (0)