-
Notifications
You must be signed in to change notification settings - Fork 24
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
Implementation of distance on GeoSeries #110
Conversation
mchalecki
commented
Sep 18, 2022
- Implementation of 1:1 distance on GeoSeries
- Fix deprecated in ffi acquire_gil
- Always return python GeoSeries when using getitem
- Fix typing in test fixture
…e_gil. Always return python GeoSeries when using getitem
I had all precommit passed
|
Yeah |
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.
In #42 @stuartlynn put up a proposal for handling both pairwise Series-Series and broadcasted Series-Scalar function handling. In the future we'll want distance
to support other
being a scalar as well, but I don't think that's a blocker; it's fine to have series-series support only
I agree. It didn't have an idea how to implement second behavior so i started with this implemented one in geo, the one that geopandas also uses |
Can I add in black line length 120 instead of default 80? |
I'd prefer to stay as close as possible to the code style of upstream |
09bcff4
to
313ff73
Compare
Hey @mchalecki ! Thanks for this, hoping to finish up that proposal this week and then implement it for each of the functions we already have. Will add this one to the list! |