-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Add test for operations on DataFrame with Interval CategoricalIndex #27443
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: Add test for operations on DataFrame with Interval CategoricalIndex #27443
Conversation
…fset (pandas-dev#26392) * Add two more parameters to the test * Add array into the boy and add parameter freq
Co-Authored-By: Joris Van den Bossche <[email protected]>
# Conflicts: # doc/source/whatsnew/v0.25.0.rst # pandas/core/arrays/categorical.py # pandas/tests/arrays/categorical/test_operators.py
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! I think there's probably a better file to put these tests in but I'm not exactly sure where this should go. cc @jbrockmendel : do you have a preference on where this test should be moved to?
Yah these definitely don't belong in tests.indexing. Is there anything DataFrame-specific about them, or could similar tests be written for Series etc? If the latter, then these would go in tests.arithmetic. If they are DataFrame-specific, then tests.frame.test_arithmetic |
…ide (pandas-dev#27280) * DOC: cleanup docstring for read_json and fix error in contribution guide
* TYPING: pandas/core/window.py * Address comments * Remove unused import * Sort imports
c7c0135
to
7a5dac4
Compare
thanks @yanglinlee |
CategoricalIndex
with interval categories as column index breaks operations on aDataFrame
#27415black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff