pl.Enum
Bug / Incorrect and Kernel crashed
#15738
Labels
A-dtype-categorical
Area: categorical data type
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Exception & Wrong results
converting an int other than 32bit to an
pl.Enum
eitherassertion failed: i < self.len()
or["a", "a", "c"]
instead of["a", "b", "c"]
(even worse because you might not realize this!)Kernel Crash
converting from 8/16 bit int to Enum and then calling
s.to_list()
crashes the kernelExpected behavior
Installed versions
The text was updated successfully, but these errors were encountered: