8000 fix: Return the correct string-case `Expr` reprs by alexander-beedie · Pull Request #25101 · pola-rs/polars · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@alexander-beedie
Copy link
Collaborator

The string-case Exprs (upper, lower, title) were dropping the leading "to_" in their repr output.

Example

Before

pl.col("strcol").str.to_lowercase()
# <Expr ['col("strcol").str.lowercase()'] at 0x119598750>

After

pl.col("strcol").str.to_lowercase()
# <Expr ['col("strcol").str.to_lowercase…'] at 0x10E198850>

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 30, 2025
@codecov
Copy link
codecov bot commented Oct 30, 2025

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.74%. Comparing base (5446ac7) to head (02b1775).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rates/polars-plan/src/dsl/function_expr/strings.rs 0.00% 3 Missing ⚠️
...lars-plan/src/plans/aexpr/function_expr/strings.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25101      +/-   ##
==========================================
- Coverage   81.75%   81.74%   -0.01%     
==========================================
  Files        1707     1707              
  Lines      235608   235608              
  Branches     3005     3005              
==========================================
- Hits       192631   192609      -22     
- Misses      42209    42231      +22     
  Partials      768      768              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coastalwhite coastalwhite merged commit 6bf4153 into pola-rs:main Oct 30, 2025
24 checks passed
@alexander-beedie alexander-beedie deleted the expr-stringcase-repr branch October 30, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix python Related to Python Polars rust Related to Rust Polars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0