Geographic data support for pandas DataFrames in Python
open sourceBSD-3-Clausefree
GeoPandas adds support for geographic data to pandas. Its GeoSeries and GeoDataFrame types subclass pandas' Series and DataFrame, hold Shapely geometry objects and run geometric operations on them. A coordinate reference system can be stored on an object, is set automatically when loading from a file, and objects can be reprojected with to_crs(). Its geometry operations are cartesian. It depends on pandas, Shapely, pyogrio and pyproj, and is fiscally sponsored by NumFOCUS. Install it from PyPI as geopandas.
Problems it solves
- load a shapefile or GeoJSON into a DataFrame in Python
- join points to the polygons they fall in with Python
- reproject geographic data to another coordinate system in a pandas workflow
Features
- GeoSeries and GeoDataFrame types built on pandas
- geometric operations on Shapely geometries
- coordinate reference systems set when reading files
- reprojection with to_crs()
Limitations
- Geometry operations are cartesian, and like coordinate systems aren't enforced between operands yet.1
Alternatives
The same job
These do what GeoPandas does.
