Skip to content

Commit

Permalink
Update docs to fact that Categorical seems to work now.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed May 23, 2024
1 parent 18e1d11 commit b47ea7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -3763,9 +3763,10 @@ def write_delta(
Notes
-----
The Polars data types :class:`Null`, :class:`Categorical` and :class:`Time`
are not supported by the delta protocol specification and will raise a
TypeError.
The Polars data types :class:`Null` and :class:`Time` are not supported
by the delta protocol specification and will raise a TypeError. Columns
using The :class:`Categorical` data type will be converted to
normal (non-categorical) strings when written.
Polars columns are always nullable. To write data to a delta table with
non-nullable columns, a custom pyarrow schema has to be passed to the
Expand Down

0 comments on commit b47ea7c

Please sign in to comment.