-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fixed unexpected np.nan value with reindex on pd.series with pd.Inter… #54549
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
Fixed unexpected np.nan value with reindex on pd.series with pd.Inter… #54549
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.
looks like the 32 bit tests are failing
I have tried to enforce the 64-bit integers on the index arrays.
However, the 32 bit tests still seems to fail. The specific error is
And the error also points to
Do anyone have ideas on solving this unexpected casting issue? Update: This error is already discussed in #23440. |
Thanks @raj-thapa |
pandas-dev#54549) * Fixed unexpected np.nan value with reindex on pd.series with pd.IntervalIndex * Moving expected result to test body * Fixed issues with Linux-32-bit test
.reindex
ing on apd.Series
with apd.IntervalIndex
when usingnp.nan
as an index value #51826The test added in this issue is failing on Linux-32-bit. This is caused by another issue as discussed in #23440. The description of the the error is also described below in the comments. The test is marked xfail for 32-bit system in this PR.