The result of filtering df with Expr.str.starts_with
changes depending on the suffix.
#20059
Closed
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
No response
Issue description
Given a dataframe with the value
CS00621400001
, filtering it withstr.starts_with("C")
does not catch the row. However, removing the trailing 1 of the value i.e., the valueCS0062140000
changes the result of the filtering and the row is caught.Expected behavior
Both
CS00621400001
andCS0062140000
are caught by the filter conditionstr.starts_with("C")
.Installed versions
The text was updated successfully, but these errors were encountered: