.str
methods silenty cast input
#18468
Labels
accepted
Ready for implementation
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
Originally
.replace
was mentioned in #18465It seems certain
.str
methods cast their input instead of throwing an error.These all seem affected:
.str.concat
.str.contains
.str.ends_with
.str.extract
.str.find
.str.join
.str.replace
.str.replace_all
.str.starts_with
Expected behavior
Should raise an exception?
Installed versions
The text was updated successfully, but these errors were encountered: