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
importpolarsasplimportnumpyasnp# Create a simple dataset on which we can reproduce the bug.pl.DataFrame({
"foo": [None, 1, 2],
"bar": np.arange(3)
})
What is the actual behavior?
thread '<unnamed>' panicked at 'could not find supertype of binary expr: ComputeError("Failed to determine supertype of List(Categorical(None)) and Boolean")', local_dependencies/polars-lazy/src/logical_plan/optimizer/type_coercion.rs:279:30```
What is the expected behavior?
This is the expected output that you get in version 0.13.48 and earlier:
What language are you using?
Python
Have you tried latest version of polars?
What version of polars are you using?
0.13.49
What operating system are you using polars on?
MacOS 11.6.7
What language version are you using
python 3.10.4
Describe your bug.
Filter with
apply
on list of categorical that works on version 0.13.48 an earlier fails on version 0.13.49.What are the steps to reproduce the behavior?
Example
What is the actual behavior?
What is the expected behavior?
This is the expected output that you get in version 0.13.48 and earlier:
The text was updated successfully, but these errors were encountered: