Skip to content

BUG: fallback from issue 20824 no longer occurs due to skipna flag #26176

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

Conversation

mukundm19
Copy link

Issue #20824 found that a fallback was occuring when df.Groupby().sum() was called with the skipna flag. This was occurring because the _cython_agg_general function was not accepting the argument, which has now been fixed. The fallback still occurs with strings in the df, however this is a deeper issue stemming from the _aggregate() call in groupby/ops.py (line 572).

@mukundm19 mukundm19 changed the title fallback from issue 20824 no longer occurs due to skipna flag BUG: fallback from issue 20824 no longer occurs due to skipna flag Apr 21, 2019
@mukundm19 mukundm19 closed this Apr 21, 2019
@codecov
Copy link

codecov bot commented Apr 21, 2019

Codecov Report

Merging #26176 into master will decrease coverage by 0.01%.
The diff coverage is 30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26176      +/-   ##
==========================================
- Coverage   91.98%   91.96%   -0.02%     
==========================================
  Files         175      175              
  Lines       52371    52380       +9     
==========================================
- Hits        48175    48173       -2     
- Misses       4196     4207      +11
Flag Coverage Δ
#multiple 90.52% <30%> (-0.02%) ⬇️
#single 40.7% <30%> (-0.15%) ⬇️
Impacted Files Coverage Δ
pandas/core/groupby/generic.py 88.21% <30%> (-0.81%) ⬇️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 96.9% <0%> (-0.12%) ⬇️

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 bbcfc7f...b6fae71. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 21, 2019

Codecov Report

Merging #26176 into master will decrease coverage by 0.01%.
The diff coverage is 30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26176      +/-   ##
==========================================
- Coverage   91.98%   91.96%   -0.02%     
==========================================
  Files         175      175              
  Lines       52371    52380       +9     
==========================================
- Hits        48175    48173       -2     
- Misses       4196     4207      +11
Flag Coverage Δ
#multiple 90.52% <30%> (-0.02%) ⬇️
#single 40.7% <30%> (-0.15%) ⬇️
Impacted Files Coverage Δ
pandas/core/groupby/generic.py 88.21% <30%> (-0.81%) ⬇️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 96.9% <0%> (-0.12%) ⬇️

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 bbcfc7f...b6fae71. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataFrame.groupby().sum() treating Nan as 0.0
1 participant