Skip to content

TST: GH23452 test reorder_categories() on categorical index #36648

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 3 commits into from
Oct 3, 2020

Conversation

fokoid
Copy link
Contributor

@fokoid fokoid commented Sep 26, 2020

Couldn't see entries for tests in whatsnew files so I assume it's not needed if only a test case is added This is my first Pandas contribution, looking forward to your feedback.

Previously test would have failed if a value of the `categories` parameter
were added with len != 3.
@fokoid fokoid changed the title Fix gh23452 TST: GH23452 test reorder_categories() on categorical index Sep 26, 2020
Copy link
Member

@arw2019 arw2019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fokoid for the PR!

Looks good, some comments

@fokoid
Copy link
Contributor Author

fokoid commented Oct 3, 2020

Requested changes have been applied, is this good to merge now?

@dsaxton dsaxton added the Testing pandas testing functions or related to the test suite label Oct 3, 2020
@dsaxton dsaxton merged commit 407fd14 into pandas-dev:master Oct 3, 2020
@dsaxton
Copy link
Member

dsaxton commented Oct 3, 2020

Thanks @fokoid

@fokoid
Copy link
Contributor Author

fokoid commented Oct 7, 2020

Sorry to bother you guys - could you please mark this PR with hacktoberfest-accepted as per #36837?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reorder_categories() on categorical index of interval values produces bizarre results
3 participants