-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
BUG: GroupBy.count() and GroupBy.sum() incorreclty return NaN instead of 0 for missing categories #35280
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
Merged
Merged
BUG: GroupBy.count() and GroupBy.sum() incorreclty return NaN instead of 0 for missing categories #35280
Changes from all commits
Commits
Show all changes
37 commits Select commit Hold shift + click to select a range
ec577d7 set self.observed=True for .sum() and .count() so that reindex can be…
smithto1 586b1bd wrote test for .sum() and .count() exception handling
smithto1 ec4bd28 black
smithto1 eed48cb updated pivot tests
smithto1 88d8a14 whatsnew
smithto1 940b32e comments
smithto1 3e39f1a black
smithto1 bd4c4fe .sum() and .count() create inner groupby with observed=True, and then…
smithto1 fcbb58b modify self.observed with a context manager
smithto1 5f89c17 added comments
smithto1 7ed0982 merging master
smithto1 9da5b18 Fixed import order that caused Linting error
smithto1 534d60f addressing comments
smithto1 b323c9c merging master
smithto1 d2abd4d fixing whatsnew comment
smithto1 361098a ammend comment
smithto1 9879199 ammend comment
smithto1 39ee6d0 addressing PR comments
smithto1 fc1a846 ammend comment
smithto1 f774288 amend comment
smithto1 1986f51 amend comment (just to rerun tests
smithto1 c4c1a92 ammend comment to start new tests (tests failing due to some flakey t…
smithto1 7093c91 merging master
smithto1 5f8ba0e amend comment to kick off tests
smithto1 49b5fc8 ammend test to kick off tests
smithto1 0454e3a merging master
smithto1 28794e3 fixed merge
smithto1 f616d5a merge fix
smithto1 80d4b7d udpate comment to kick off tests
smithto1 442ad1d amend comment to restart checks
smithto1 be8b78c Merge remote-tracking branch 'upstream/master' into issue31422-v7
smithto1 ed99b60 doc updates
smithto1 528ff7e restart tests
smithto1 b2a331f Merge remote-tracking branch 'upstream/master' into issue31422-v7
smithto1 cb010fa Merge branch 'master' into issue31422-v7
jreback d6ebe10 merge
smithto1 f575687 merge
smithto1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.