when
/then
/otherwise
silently converts values to nulls for Enum
series
#14953
Labels
A-dtype-categorical
Area: categorical data type
accepted
Ready for implementation
bug
Something isn't working
python
Related to Python Polars
Checks
Issue description
When an Enum is used in a when/then chain, and the result is not in the Enum's categories, the result is silently converted to null, when it should raise an Exception.
Installed versions
The text was updated successfully, but these errors were encountered: