-
Notifications
You must be signed in to change notification settings - Fork 401
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
Issue with UtilityParity indexing #1338
Comments
Do you have the example code which produces this output? Looks like the last 4 rows are added in the second one. Reading the code, it not obvious to me why that is. Might need to step through. |
This test is the one generating the data for the above matrices: Here you have the code to trigger the issue: #1339, althrough the issue was triggered in the previous pandas PR when merged, so to compare you need to checkout the PR where pyarrow was added, or anything before that. |
I have a feeling this is related to the trouble I'm having with #1351 . That's eventually failing due to a vector being the wrong size for multiplication... and the reason it's the wrong size seems to be a few NaN entries |
Weirdly, pushing the |
We have this code:
which causes a few issues, due to indexing and copy-on-write, so a better way of writing the same code seems to be:
However, the former produces:
while the second code produces:
I don't really understand this part of the code, and it seems @MiroDudik wrote it, but I'm not sure if he's got time to check. Anybody? @fairlearn/fairlearn-maintainers
Note that this change is necessary in new pandas releases.
The text was updated successfully, but these errors were encountered: