Skip to content

Conversation

@Kevin-Patyk
Copy link
Contributor

@Kevin-Patyk Kevin-Patyk commented Oct 17, 2025

Resolves #22468.

Adds deprecation warnings to Expr.agg_groups() and pl.groups() to prepare for their removal in Polars 2.0.

Need a maintainer to let me know which exact Python version it will be deprecated so that the docstrings can be updated accordingly. Thank you!

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Oct 17, 2025
@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.74%. Comparing base (2b24154) to head (20d9012).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
py-polars/src/polars/functions/lazy.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24919      +/-   ##
==========================================
- Coverage   81.75%   81.74%   -0.02%     
==========================================
  Files        1704     1704              
  Lines      235066   235069       +3     
  Branches     2997     2997              
==========================================
- Hits       192180   192157      -23     
- Misses      42121    42147      +26     
  Partials      765      765              

☔ 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.

@Kevin-Patyk Kevin-Patyk force-pushed the chore/deprecate_groups branch from 589c39a to 2aa0dc9 Compare October 20, 2025 09:20
@coastalwhite coastalwhite merged commit f7836ca into pola-rs:main Oct 23, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement python Related to Python Polars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate and remove Expr.agg_groups() and pl.groups()

3 participants