-
Notifications
You must be signed in to change notification settings - Fork 132
Fixes to run tests at Man #2390
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
base: master
Are you sure you want to change the base?
Conversation
Shouldn't these tests run with Pandas 1 in our Github CI, using the compat requirements?
|
You are right https://github.com/man-group/ArcticDB/actions/runs/15530593136/job/43718937934?pr=2393 Then I have no idea what happens but the error suggests that the function returns float64 while source df is int64. And that could have been the only theory I have, which actually rwould fix the problem (this is patching the pandas returned df, not arctics, so it should be fine) |
@@ -331,6 +331,8 @@ def build_expected_df(dataframes): | |||
expected = expected.combine_first(d) | |||
if not expected.empty: | |||
expected.loc[d.index] = d | |||
# pandas 1.0 patch, otherwise the col will be float64 |
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.
We've seen that this doesn't always happen with Pandas 1.0. It would be much better to understand why we need this change properly before merging this
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.
At Man's internal we are testing with : pandas 1.0.5
At Github we do with 1.3.5
The problem is in between those pandas versions
We should merge this change, as there are more surprises probably waiting. Let's finish first the whole VAST project and see what is there still to investigate afterwards
Reference Issues/PRs
What does this implement or fix?
Any other comments?
Checklist
Checklist for code changes...