Skip to content

Conversation

@alifbe
Copy link
Collaborator

@alifbe alifbe commented Apr 4, 2023

Latest pandas (v2.0) will not update the value of the slice when using iloc which trigger error in many places of the test.

It works fine with loc.

@alifbe alifbe requested a review from berland April 4, 2023 11:23
@alifbe
Copy link
Collaborator Author

alifbe commented Apr 4, 2023

@berland can you help me review this PR? The test is failing due to pandas update from 1.5.3 to 2.0.

@berland
Copy link
Collaborator

berland commented Apr 4, 2023

Looks fine, this is perhaps pandas-dev/pandas#39022 ?

Based on the number of test failures prior to this PR, it looks to be well tested :)

@alifbe
Copy link
Collaborator Author

alifbe commented Apr 4, 2023

@berland Yes, I think pyscal has a very good coverage of test suite which make it much easier to flag issue.

Thank for the review 👍

@alifbe alifbe merged commit c45b5ec into equinor:main Apr 4, 2023
@alifbe alifbe deleted the fix-panda-2.0 branch April 4, 2023 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants