Skip to content


Repository files navigation

PySAL-giddy for exploratory spatiotemporal data analysis

Continuous Integration codecov Gitter room PyPI version DOI badge Downloads

Giddy is an open-source python library for exploratory spatiotemporal data analysis and the analysis of geospatial distribution dynamics. It is under active development for the inclusion of newly proposed analytics that consider the role of space in the evolution of distributions over time.

Below are six choropleth maps of U.S. state per-capita incomes from 1929 to 2004 at a fifteen-year interval.



Online documentation is available here.


  • Directional LISA, inference and visualization as rose diagram


Above shows the rose diagram (directional LISAs) for US states incomes across 1969-2009 conditional on relative incomes in 1969.

  • Spatially explicit Markov methods:
    • Spatial Markov and inference
    • LISA Markov and inference
  • Spatial decomposition of exchange mobility measure (rank methods):
    • Global indicator of mobility association (GIMA) and inference
    • Inter- and intra-regional decomposition of mobility association and inference
    • Local indicator of mobility association (LIMA)
      • Neighbor set LIMA and inference
      • Neighborhood set LIMA and inference


  • Income mobility measures
  • Alignment-based sequence analysis methods



Install the stable version released on the Python Package Index from the command line:

pip install giddy

Install the development version on pysal/giddy:

pip install git+


  • scipy>=1.3.0
  • libpysal>=4.0.1
  • mapclassify>=2.1.1
  • esda>=2.1.1
  • quantecon>=0.4.7


PySAL-giddy is under active development and contributors are welcome.

If you have any suggestion, feature request, or bug report, please open a new issue on GitHub. To submit patches, please follow the PySAL development guidelines and open a pull request. Once your changes get merged, you’ll automatically be added to the Contributors List.


If you are having issues, please talk to us in the gitter room.


The project is licensed under the BSD license.

BibTeX Citation

  author       = {Wei Kang and
                  Sergio Rey and
                  James Gaboardi and
                  Philip Stephens and
                  Nicholas Malizia and
                  Stefanie Lumnitz and
                  Levi John Wolf and
                  Charles Schmidt and
                  Jay Laura and
                  Eli Knaap},
  title        = {pysal/giddy},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.1322825},
  url          = {}


Award #1421935 New Approaches to Spatial Distribution Dynamics