Providing Series.str.replace_many
with an empty sequence raises an SchemaError
#16291
Open
2 tasks done
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Nothing too serious, but when providing empty input, it raises a
SchemaError
, which is a bit confusing and inconvient for my use case.Expected behavior
I guess I would expect a specific error or otherwise a silent pass. I think adding an argument to determine behaviour would be nice.
Installed versions
The text was updated successfully, but these errors were encountered: