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

[REVIEW] Fix groupby apply for operations that fail on empty groups #4796

Merged
merged 5 commits into from
Apr 3, 2020

Conversation

shwina
Copy link
Contributor

@shwina shwina commented Apr 3, 2020

The current logic for groupby.apply() adds an extraneous "empty" group, which would result in operations that don't work for empty dataframes fail.

@shwina shwina requested a review from a team as a code owner April 3, 2020 17:34
@kkraus14 kkraus14 added 5 - Ready to Merge Testing and reviews complete, ready to merge Python Affects Python cuDF API. labels Apr 3, 2020
@codecov
Copy link

codecov bot commented Apr 3, 2020

Codecov Report

Merging #4796 into branch-0.14 will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.14    #4796      +/-   ##
===============================================
- Coverage        88.42%   88.42%   -0.01%     
===============================================
  Files               51       51              
  Lines             9738     9736       -2     
===============================================
- Hits              8611     8609       -2     
  Misses            1127     1127              
Impacted Files Coverage Δ
python/cudf/cudf/core/groupby/groupby.py 92.92% <100.00%> (-0.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 627ebc5...694ee8b. Read the comment docs.

@GPUtester
Copy link
Collaborator

Can one of the admins verify this patch?

@kkraus14 kkraus14 merged commit e095723 into rapidsai:branch-0.14 Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants