$npx skillfedfor your agent

esda

Exploratory Spatial Data Analysis in PySAL

Worth itPyPI GISReleased Jun 2026262.1K downloads / moBSD 3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — esda-2.10.0-py3-none-any.whl
v2.10.0 · released 2026-06-19 · Python >=3.12 · 7 runtime deps: geopandas, libpysal, numpy, pandas, scikit-learn, scipy, shapely

Yes. esda is actively maintained, has low install friction, carries a permissive BSD license, and provides essential spatial statistics tools for exploratory analysis. It integrates seamlessly with GeoPandas and the PySAL ecosystem. No known vulnerabilities. Suitable for research, spatial analysis, and GIS workflows. Requires Python 3.12+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12+; geopandas and libpysal must be installed and functional with valid geospatial data.
  • Low friction: pure Python wheel with well-maintained dependencies (geopandas, libpysal, scipy, scikit-learn).
  • Active development with last commit 2026-07-20 and release 56 days ago.

License · maintenance · safety

BSD 3-Clause (permissive) — BSD 3-Clause permissive license allows use in most projects, including commercial, with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-06-19 (56 days) · last repo commit 2026-07-20 · 256 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 262,141 downloads/mo, #8,379 on PyPI

Verify before relying

pip install esda

import esda
import geopandas as gpd
from libpysal.weights import Queen

gdf = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
weights = Queen.from_dataframe(gdf)
moran = esda.Moran(gdf['pop_est'], weights)
print(moran.I, moran.p_sim)
  • Whether permutation-based inference is available for all statistics or only a subset.
  • Performance characteristics when analyzing large datasets (millions of features).
  • Compatibility with specific versions of geopandas, libpysal, or scikit-learn beyond minimum requirements.
Same gist for agents: .md · .json

What it is and what it does

esda is a Python library for exploratory spatial data analysis, part of the PySAL ecosystem. It provides methods to measure and test spatial autocorrelation—the degree to which values at nearby locations are similar—and to identify spatial clustering, hot spots, and cold spots in geospatial data. The library implements both global statistics (Moran's I, Geary's C, Getis-Ord G) that summarize spatial structure across an entire dataset, and local indicators (LISA) that reveal where clustering occurs.

Built on NumPy, SciPy, GeoPandas, and libpysal, esda integrates with the broader PySAL ecosystem and supports areal and point-referenced data, binary and categorical patterns, and multivariate spatial association. It includes permutation-based inference for statistical significance testing and works directly with GeoPandas DataFrames and spatial weights objects, making it practical for researchers and practitioners who need to understand spatial structure before formal modeling.

Use it for

  • Identify spatial autocorrelation in epidemiological data (disease incidence) to detect clustering before regression modeling.
  • Detect hot spots and cold spots in crime or economic indicators across administrative regions using local Moran statistics.
  • Test for spatial randomness in ecological or environmental measurements to validate assumptions for spatial models.
  • Analyze multivariate spatial association between correlated geospatial variables (e.g., income and education).
  • Measure shape regularity and geometric characteristics of spatial features to understand spatial configuration.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

esda is actively maintained, has low install friction, carries a permissive BSD license, and provides essential spatial statistics tools for exploratory analysis. It integrates seamlessly with GeoPandas and the PySAL ecosystem. No known vulnerabilities. Suitable for research, spatial analysis, and GIS workflows. Requires Python 3.12+.

Install

esda on PyPI

Before you install

Low friction: pure Python wheel with well-maintained dependencies (geopandas, libpysal, scipy, scikit-learn). Active development with last commit 2026-07-20 and release 56 days ago. Requires Python 3.12+.

Requires Python 3.12+; geopandas and libpysal must be installed and functional with valid geospatial data.

License in practice

BSD 3-Clause permissive license allows use in most projects, including commercial, with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install esda

import esda
import geopandas as gpd
from libpysal.weights import Queen

gdf = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
weights = Queen.from_dataframe(gdf)
moran = esda.Moran(gdf['pop_est'], weights)
print(moran.I, moran.p_sim)

Verify before relying

  • Whether permutation-based inference is available for all statistics or only a subset.
  • Performance characteristics when analyzing large datasets (millions of features).
  • Compatibility with specific versions of geopandas, libpysal, or scikit-learn beyond minimum requirements.

Package facts

LicenseBSD 3-Clause permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
geopandaslibpysalnumpypandasscikit-learnscipyshapely
MaintenanceActively maintained 56 days since the last release
Last repo commit
First released
Downloads262,141 / month, #8,379 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: GIS

Evidence: esda-2.10.0-py3-none-any.whl

Tags

Capabilities
spatial autocorrelation statisticsmoran's i geary's clocal indicators spatial associationspatial clustering detectionexploratory spatial data analysishot spot cold spot analysisspatial weights geopandas
Topics
spatial-statisticsgispysal-ecosystem
PyPI keywords
exploratory data analysisspatial statistics

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “moran's i geary's c”

  • esdaesda computes global and local spatial autocorrelation statistics,…
  • splotsplot creates static and interactive visualizations for spatial…
  • nashpyNashpy computes Nash equilibria and simulates strategic interactions…

Give your agent the search over MCP, or paste the wish link into any chat.

More GIS packages

shapely Worth it
PyPI · GIS · released Sep 2025

Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.

BSD-3-Clausecompiled wheel · 3.10+
85.8Mdownloads / mo
pyproj Unrated
PyPI · Scientific/Engineering · released Aug 2025

pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.

MITcompiled wheel · 3.11+
28.0Mdownloads / mo
geopandas Worth it
PyPI · GIS · released Jun 2026

GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.

Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.

BSD-3-Clausepure Python · 3.10+
24.8Mdownloads / mo
geopy Worth it
PyPI · Python Modules · released Jul 2026

geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.

Install it if you need geocoding or distance calculations in your application.

MITpure Python · 3.8+
19.0Mdownloads / mo
pyogrio Worth it
PyPI · GIS · released Jun 2026

Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.

MITcompiled wheel · 3.10+
17.2Mdownloads / mo
h3 Worth it
PyPI · GIS · released May 2026

h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.

Apache-2.0compiled wheel · 3.10+
12.1Mdownloads / mo

See also giddy · inequality · pointpats · pysal · spaghetti · splot · segregation · libpysal · spreg · access