-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: adding test cases for verifying correct values shown by pivot_table() #21378 #21393
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
BUG: Incorrect values shown by pivot_table() pandas-dev#21378
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uds5501 : This is awesome. Thanks!
Codecov Report
@@ Coverage Diff @@
## master #21393 +/- ##
=========================================
Coverage ? 91.89%
=========================================
Files ? 153
Lines ? 49604
Branches ? 0
=========================================
Hits ? 45586
Misses ? 4018
Partials ? 0
Continue to review full report at Codecov.
|
@gfyoung thanks! you may now close the issue after the merge 👍 |
pandas/tests/reshape/test_pivot.py
Outdated
@@ -142,6 +142,25 @@ def test_pivot_table_dropna_categoricals(self, dropna): | |||
|
|||
tm.assert_frame_equal(result, expected) | |||
|
|||
def test_pivot_with_new_patch(self, dropna): | |||
# gh-21133 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you just add this example into an existing test (the one below looks like a candidate).
Added a new example in pre-existing test
Hello @uds5501! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on June 15, 2018 at 17:32 Hours UTC |
@jreback Done the changes. Any other improvement you'd like? |
@jreback fixed the errors in the test. Any other improvement required? |
thanks @uds5501 |
BUG: Incorrect values shown by pivot_table() #21378
git diff upstream/master -u -- "*.py" | flake8 --diff
Just added a new test to verify the included patch in
master
branch