You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/user_guide/io.rst
+5-2
Original file line number
Diff line number
Diff line change
@@ -4710,7 +4710,8 @@ Several caveats.
4710
4710
indexes. This extra column can cause problems for non-Pandas consumers that are not expecting it. You can
4711
4711
force including or omitting indexes with the ``index`` argument, regardless of the underlying engine.
4712
4712
* Index level names, if specified, must be strings.
4713
-
* Categorical dtypes can be serialized to parquet, but will de-serialize as ``object`` dtype.
4713
+
* In the ``pyarrow`` engine, categorical dtypes for non-string types can be serialized to parquet, but will de-serialize as their primitive dtype.
4714
+
* The ``pyarrow`` engine preserves the ``ordered`` flag of categorical dtypes with string types. ``fastparquet`` does not preserve the ``ordered`` flag.
4714
4715
* Non supported types include ``Period`` and actual Python object types. These will raise a helpful error message
4715
4716
on an attempt at serialization.
4716
4717
@@ -4734,7 +4735,9 @@ See the documentation for `pyarrow <https://arrow.apache.org/docs/python/>`__ an
0 commit comments