-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
TST: Groupby first/last/nth nan column test #33627
TST: Groupby first/last/nth nan column test #33627
Conversation
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.
Thanks - just a minor nit to make things more readable otherwise lgtm
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.
Thanks @jamescobonkerr for the PR. does this test follow the same code path as the code sample in the issue OP?, see #33591 (comment)
this was changed in #32949 be86b65 is the first new commit
|
Ah, you're right — pardon the oversight.
Removing the |
@jamescobonkerr Thanks for working on this. The test you have added here does have value since it is testing a change in behaviour against regression. As you pointed out this test fails on 1.0.3 and is fixed on master. AFAICT this is working since #32949 I'll reopen this PR, but once merged will not close #33591 (rather than open a new issue at this point, i'll reference you code sample in #33591) |
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.
Thanks @jamescobonkerr lgtm pending green ci.
thanks @jamescobonkerr always happy to take these |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
The first two asserts (
first()
/last()
) fail on1.0.3
, as expected.