-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Tests for where() with categorical #37182
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
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 @gabriellm1 for the PR!
Some comments.
I would use the pytest.mark.parametrize
to put these tests together. Possibly you want to parametrize on klass
(which could be Series
or DataFrame
) - take a look in other tests for examples.
No need for a whatsnew since this isn't making a user facing change.
Let me know if you have any questions!
thanks @gabriellm1 |
where
series method #18888black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Hey everyone,
I wrote some tests for issue #18888. I don't know exactly if the format is correct but if any change is needed I'm happy to make it right.
Which 'whatsnew entry' should I report for both new tests?
Also, if you think this is a decent contribution and if there's no problem with doing that, it would be nice to tag this PR with hacktoberfest-accepted label :)