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

_from_point_xy improvements #905

Merged
merged 3 commits into from
Feb 8, 2023

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented Feb 7, 2023

Description

This PR fixes #888, raises when input is not an integer array.

This PR also fixes a bug in _from_point_xy where empty series other than points are incorrectly constructed. An empty linestring array should be properly nested with the leaf column containing 0 elements. Currently it is constructed as a flat array, resulting in a ill-constructed geocolumn.

Checklist

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

@isVoid isVoid requested a review from a team as a code owner February 7, 2023 00:54
@isVoid isVoid requested a review from thomcom February 7, 2023 00:54
@isVoid isVoid self-assigned this Feb 7, 2023
@github-actions github-actions bot added the Python Related to Python code label Feb 7, 2023
@isVoid isVoid added the 3 - Ready for Review Ready for review by team label Feb 7, 2023
@isVoid isVoid added non-breaking Non-breaking change bug Something isn't working labels Feb 7, 2023
@harrism
Copy link
Member

harrism commented Feb 7, 2023

Does this fix part of #888 or all of it? Please use the github syntax that will autoclose the issue if it fixes all of it. See https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

@isVoid
Copy link
Contributor Author

isVoid commented Feb 7, 2023

I think all of it. Adding closing terms.

@thomcom
Copy link
Contributor

thomcom commented Feb 8, 2023

lgtm, nice work

@isVoid
Copy link
Contributor Author

isVoid commented Feb 8, 2023

@gpucibot merge

@rapids-bot
Copy link

rapids-bot bot commented Feb 8, 2023

@isVoid, the @gpucibot merge command has been replaced with /merge.

Please re-comment this PR with /merge and use this new command in the future.

@isVoid
Copy link
Contributor Author

isVoid commented Feb 8, 2023

/merge

@rapids-bot rapids-bot bot merged commit 5cec7a9 into rapidsai:branch-23.04 Feb 8, 2023
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: Review
Development

Successfully merging this pull request may close these issues.

[BUG]: cuspatial.core._column.geocolumn.GeoColumn._from_points_xy has some type issue
3 participants