Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Jun 22:23
403bcf6

Changes

Version 2.0.0 (2021-06-16)

Version 2.0 of the segregation package brings a new API, a massive code restructuring, and dozens of new features, enhancements, and bug fixes. For a complete overview of the new API, please see the documentation page at https://pysal.org/segregation/api. The new version does away with the distinction between spatial and aspatial segregation indices and instead partitions the functions based on single-group and multi-group measures. The spatial/aspatial distinction is echewed in version 2.0 because all aspatial indices can be generalized into spatial versions, following the logic of Reardon and O'Sullivan (see a description in this example notebook). Furthermore, "space" can be incorporated into the index calculation using either Euclidean distance or the shortest path along a travel network. With this logic, the package now offers multiscalar segregation profiles for 23 different segregation indices (a first in any software package).


We closed a total of 25 issues (enhancements and bug fixes) through 7 pull requests, since our last release on 2020-12-29.

Issues Closed

  • error in AbsoluteClustering with geographic coordinate system (#169)
  • add deprecation layer for 2.0 (#171)
  • [ENH] extend segregation profile function to accept more spatial indices (#104)
  • Dissimilarity Index API typo (#167)
  • remove travis-ci badge (#165)
  • consider refactor to scikit-style mixins (#4)
  • 2.0 refactor (#161)
  • Segregation measure (aspatial/spatial) with groupby? (#168)
  • remove mamba reference (#166)
  • Example notebooks missing scaramento2.shp (#163)
  • fix missing example dataset load. (#164)
  • GHA and setup.py maintenance (#160)
  • bump ver (#159)
  • add network, util, and profile functions to readthedocs (#79)
  • update docs (#158)
  • update docstring for decomposition plotting (#153)
  • Update release action for deprecation of set env (#157)
  • update github actions (#156)

Pull Requests

  • 2.0 refactor (#161)
  • fix missing example dataset load. (#164)
  • GHA and setup.py maintenance (#160)
  • bump ver (#159)
  • update docs (#158)
  • Update release action for deprecation of set env (#157)
  • update github actions (#156)

The following individuals contributed to this release:

  • Eli Knaap
  • Serge Rey
  • James Gaboardi