.shift()
inside .replace()
PanicException
#20334
Labels
A-panic
Area: code that results in panic exceptions
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
I was just experimenting with syntax, there was no real use case.
It seems to be specific to
pl.lit(None)
With
pl.lit(1)
it gives the appropriate error instead.# InvalidOperationError: `new` input for `replace` must have the same length as `old` or have length 1
Expected behavior
Error instead of panic.
Installed versions
main
The text was updated successfully, but these errors were encountered: