-
Notifications
You must be signed in to change notification settings - Fork 156
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 GeoDataframe
slicing issue by adding _slice_
method.
#680
Fix GeoDataframe
slicing issue by adding _slice_
method.
#680
Conversation
ecfd5ca
to
329a08b
Compare
rerun tests |
GeoDataframe
slicing issue by refactoring GeoColumn
GeoDataframe
slicing issue by adding _slice_
method.
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.
I assume this pattern will come up very often: filter out geocolumn, handle geocolumn, handle data column, combine geocolumn and data column. Can we generalize this into some helper functions?
Co-authored-by: Michael Wang <isVoid@users.noreply.github.com>
Co-authored-by: Michael Wang <isVoid@users.noreply.github.com>
…spatial into bug/slice-geodataframe-broken
Sure! I have done so in the latest commit. If you approve I'll merge soon. |
@gpucibot merge |
This PR adds `docs/source/user_guide/index.ipynb`, a comprehensive description of the APIs available in cuspatial python and example code for each. The APIs are separated in a table of contents by the logical structure we've settled on for their location in the API. The demonstrate uses the `cuspatial.` version of every API, none are accessed using their full python package address. At the bottom I'm working on some examples of performing `contains` and `within`, DE-9IM operations that can be performed easily with `point-in-polygon`. Otherwise the document is complete. Depends on #685 and #680 This contributes to or closes #599 by providing an example use case of all python APIs. Authors: - H. Thomson Comer (https://github.com/thomcom) Approvers: - Mark Harris (https://github.com/harrism) - Michael Wang (https://github.com/isVoid) URL: #666
Description
This PR will adds a
_slice
method which is called when acudf.DataFrame
is accessed in a variety of ways. It also adds thename
member toGeoSeries
that are pulled from theGeoDataFrame
.Fixes #676
Checklist