Skip to content
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

DEPR: Remove NumericIndex from tests/arithmetic/ #51100

Merged

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented Feb 1, 2023

Removes NumericIndex from pandas/tests/arithemetic/.

I've tried quite a lot to generalize the tests here to be for all the numeric numpy dtypes, but it seems almost impossible. The main issue is that numexpr operations behave differently for many dtypes lower than 64-bit than python ones, and its behaviour just seems unpredictably different than the normal python ops.

The tests in this directory concern both indexes and series and non-64-bit dtypes weren't tested before, even though it was possible for Series, and I assume the reason for that is the same difficulty, though I don't know for sure.

xref #42717.

@topper-123 topper-123 force-pushed the remove_NumericIndex_from_tests/arithmetic branch from 01177ad to ca31c30 Compare February 1, 2023 10:29
@phofl phofl added this to the 2.0 milestone Feb 1, 2023
@phofl phofl added the Deprecate Functionality to remove in pandas label Feb 1, 2023
@phofl phofl merged commit 961314d into pandas-dev:main Feb 1, 2023
@phofl
Copy link
Member

phofl commented Feb 1, 2023

thx @topper-123

@topper-123 topper-123 deleted the remove_NumericIndex_from_tests/arithmetic branch February 1, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants