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

Fix a bug preventing align from working with a basic slice. #850

Merged
merged 7 commits into from
Dec 15, 2022

Conversation

thomcom
Copy link
Contributor

@thomcom thomcom commented Dec 9, 2022

Closes #848

Description

This PR fixes a bug with align so that slicing a GeoSeries, then calling a binpred with slices of the GeoSeries with unmatching indexes works. It also adds a few more valid tests.

As of this PR one test still fails, I'm working on it but it feels like a rabbit hole. I'm inclined to leave the case for later:
The case that doesn't work is the hardest case wherein two GeoSeries have different length as well as indexes in one that is not present in the other.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@github-actions github-actions bot added the Python Related to Python code label Dec 9, 2022
@harrism
Copy link
Member

harrism commented Dec 12, 2022

Does this fix #848? I saw another related issue as well. Should those issues be added to the current sprint and estimated?

@thomcom
Copy link
Contributor Author

thomcom commented Dec 12, 2022

Yes, it is done for Sprint 2.

@thomcom thomcom marked this pull request as ready for review December 12, 2022 23:54
@thomcom thomcom requested a review from a team as a code owner December 12, 2022 23:54
@harrism
Copy link
Member

harrism commented Dec 12, 2022

What about #849?

@thomcom thomcom requested review from harrism and isVoid and removed request for cwharris December 13, 2022 21:53
@thomcom thomcom self-assigned this Dec 13, 2022
@thomcom thomcom added bug Something isn't working 3 - Ready for Review Ready for review by team non-breaking Non-breaking change labels Dec 13, 2022
@thomcom
Copy link
Contributor Author

thomcom commented Dec 13, 2022

#849 is fixed in #856

@isVoid
Copy link
Contributor

isVoid commented Dec 14, 2022

rerun tests

@thomcom
Copy link
Contributor Author

thomcom commented Dec 15, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 749751a into rapidsai:branch-23.02 Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working non-breaking Non-breaking change Python Related to Python code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG]: align fails on a pretty simple index alignment
3 participants