Skip to content

Commit 48da1df

Browse files
authored
Update frame.py
1 parent 0d95b2a commit 48da1df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,8 +2957,7 @@ def to_parquet(
29572957
categories, not just those present in the data. This behavior
29582958
is expected and consistent with pandas' handling of categorical data.
29592959
To manage file size and ensure a more predictable roundtrip process,
2960-
consider using :meth:`Categorical.remove_unused_categories` on the
2961-
DataFrame before saving
2960+
consider using :meth:`Categorical.remove_unused_categories`
29622961
* When using the "pyarrow" engine, `DataFrame.attrs` are stored as part of the file's metadata and restored on reading.
29632962
29642963
Examples

0 commit comments

Comments
 (0)