Skip to content

Commit

Permalink
Merge pull request #95 from sjsrey/master
Browse files Browse the repository at this point in the history
ENH: bumping version and handle array creation error in join counts
  • Loading branch information
sjsrey authored Dec 18, 2019
2 parents bbf8ce7 + 0497257 commit 2299416
Show file tree
Hide file tree
Showing 3 changed files with 888 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esda/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.1.1"
__version__ = "2.2.0"
"""
:mod:`esda` --- Exploratory Spatial Data Analysis
=================================================
Expand Down
2 changes: 1 addition & 1 deletion esda/join_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def __init__(self, y, w, permutations=PERMUTATIONS):
except ValueError:
# expected count of 0 -> inadmissible
pass
sim_jc = np.array(sim)
sim_jc = np.array(sim, dtype=object)
self.sim_bb = sim_jc[:, 0]
self.min_bb = np.min(self.sim_bb)
self.mean_bb = np.mean(self.sim_bb)
Expand Down
886 changes: 886 additions & 0 deletions notebooks/geosilhouettes.ipynb

Large diffs are not rendered by default.

0 comments on commit 2299416

Please sign in to comment.