Type casting issue when select
is called with complex expression: pyo3_runtime.PanicException: called Option::unwrap()
on a None
value
#15614
Labels
A-exceptions
Area: exception handling
A-ops
Area: operations
A-optimizer
Area: plan optimization
A-panic
Area: code that results in panic exceptions
accepted
Ready for implementation
bug
Something isn't working
P-high
Priority: high
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Interestingly, the issue is not reproduced if:
a)
with_row_index
call is removed;b) or
b
column is initialized as float ("b": [99.0, 99.0]
).Expected behavior
The code should be executed successfully and return:
Installed versions
The text was updated successfully, but these errors were encountered: