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

Add contrib module to explore interface with geopandas #474

Closed
sjsrey opened this issue Jul 11, 2014 · 2 comments
Closed

Add contrib module to explore interface with geopandas #474

sjsrey opened this issue Jul 11, 2014 · 2 comments
Assignees
Milestone

Comments

@sjsrey
Copy link
Member

sjsrey commented Jul 11, 2014

https://github.com/kjordahl/geopandas

@sjsrey sjsrey added this to the Release + 1 milestone Jul 20, 2014
@sjsrey sjsrey self-assigned this Oct 22, 2014
This was referenced Oct 22, 2014
@ljwolf
Copy link
Member

ljwolf commented May 25, 2015

It seems that most of this works together rather easily, given more arbitrary W procedures. With the proposed changes in wconstructor for geointerfaces, a pysal.weights object could be constructed from any GeoSeries.

I've been playing around with what's possible given this W from GeoPandas objects. esda gains instant support, as calling geodataframe[column].values yields a (n,) numpy vector, so every pysal.Moran* works using Series' .values methods. Compatibility holds using this in spatial_dynamics, too.

We still run into issue #461 for spreg, as gdf[col].values has to be reshaped for y but not X. The fact that pandas provides column vectors as (n,) might indicate a good external standard to peg on for this issue.

That said, once the new wconstructor gets tested, doing this might be better off as a (highly visible) set of example notebooks.

@ljwolf
Copy link
Member

ljwolf commented Jun 13, 2015

Formal start for contrib module in PR #618.

@ljwolf ljwolf added the GSOC label May 23, 2016
@ljwolf ljwolf closed this as completed Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants