Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depr(python): Deprecate tree_format parameter for LazyFrame.explain in favor of format #16486

Merged
merged 2 commits into from
May 25, 2024

Conversation

stinodego
Copy link
Contributor

@stinodego stinodego commented May 25, 2024

A format parameter is more appropriate here, to facilitate potential other formats like proposed here:
#12075

Also added some tests because there were 0 tests for the tree format parameter.

@stinodego stinodego changed the title depr(python): Deprecate tree_format parameter for LazyFrame.explain in favor of format depr(python): Deprecate tree_format parameter for LazyFrame.explain in favor of format May 25, 2024
@github-actions github-actions bot added deprecation Add a deprecation warning to outdated functionality python Related to Python Polars labels May 25, 2024
Copy link

codecov bot commented May 25, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.49%. Comparing base (d68d499) to head (82a8e7e).

Files Patch % Lines
py-polars/polars/lazyframe/frame.py 75.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16486      +/-   ##
==========================================
+ Coverage   81.42%   81.49%   +0.07%     
==========================================
  Files        1409     1409              
  Lines      184924   184929       +5     
  Branches     2978     2980       +2     
==========================================
+ Hits       150577   150712     +135     
+ Misses      33826    33696     -130     
  Partials      521      521              

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

@stinodego stinodego merged commit fb142d0 into main May 25, 2024
17 checks passed
@stinodego stinodego deleted the explain-format branch May 25, 2024 11:55
@c-peters c-peters added the accepted Ready for implementation label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation deprecation Add a deprecation warning to outdated functionality python Related to Python Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants