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

feat(rust!): Change DataFrame.is_empty() to check height == 0 instead of width == 0 #16351

Merged
merged 5 commits into from
May 22, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented May 21, 2024

This aligns the method with the Python side.

@github-actions github-actions bot added fix Bug fix rust Related to Rust Polars labels May 21, 2024
@stinodego stinodego changed the title fix(rust): Fix DataFrame.is_empty() to check height == 0 instead of width == 0 feat(rust!): Change DataFrame.is_empty() to check height == 0 instead of width == 0 May 21, 2024
@github-actions github-actions bot added breaking rust Change that breaks backwards compatibility for the Rust crate enhancement New feature or an improvement of an existing feature labels May 21, 2024
@stinodego stinodego marked this pull request as ready for review May 21, 2024 12:12
@stinodego stinodego removed the fix Bug fix label May 21, 2024
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.36%. Comparing base (6289dc3) to head (1fa366b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16351      +/-   ##
==========================================
- Coverage   81.38%   81.36%   -0.02%     
==========================================
  Files        1406     1406              
  Lines      183911   183900      -11     
  Branches     2953     2953              
==========================================
- Hits       149671   149627      -44     
- Misses      33727    33760      +33     
  Partials      513      513              

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

@ritchie46 ritchie46 merged commit 4375930 into main May 22, 2024
27 checks passed
@ritchie46 ritchie46 deleted the fix-is-empty branch May 22, 2024 09:50
@c-peters c-peters added the accepted Ready for implementation label May 27, 2024
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation breaking rust Change that breaks backwards compatibility for the Rust crate enhancement New feature or an improvement of an existing feature rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants