We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d95b2a commit 48da1dfCopy full SHA for 48da1df
pandas/core/frame.py
@@ -2957,8 +2957,7 @@ def to_parquet(
2957
categories, not just those present in the data. This behavior
2958
is expected and consistent with pandas' handling of categorical data.
2959
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
+ consider using :meth:`Categorical.remove_unused_categories`
2962
* When using the "pyarrow" engine, `DataFrame.attrs` are stored as part of the file's metadata and restored on reading.
2963
2964
Examples
0 commit comments