libpysal
libpysal copied to clipboard
Core components of Python Spatial Analysis Library
I am following the API docs for [esda.G_Local](https://pysal.org/esda/generated/esda.G_Local.html#esda.G_Local), to generate a weights object, to be used in Getis Ord Gi* Statistics, for classification of Hot and Cold Spots. It works,...
As opposed to what's stated in the API docs, passing `ids=None` to a `from_dataframe` class method does not pass the df's index as ids. Here's an MRE: ```python import libpysal...
Closes #464 Avoiding `apply` altogether here. This will use vectorized pygeos implementation.
When no `indexed_on` argument is given to the `W.plot()`, the method assumes the `gdf` that is passed has a default `RangeIndex`. Passing a gdf that has an arbitrary "non-default" index...
Kernel weights have `radius` parameter exposed but it is not documented https://pysal.org/libpysal/generated/libpysal.weights.Kernel.html#libpysal.weights.Kernel
Hi, I would like to know if it is expected behavior for the alpha shape to be returned with filled in holes? This example [colab notebook](https://colab.research.google.com/drive/1KCCnbwTvg-omi8Fz9UHq0bn1NSfTPl90?usp=sharing) illustrates this ``` from...
The naming of the New Haven, CT dataset may have been altered at some point causing it to be unfetchable. The following previously worked (see [here](https://pysal.org/spaghetti/notebooks/connected-components.html#Empirical-Example-—-New-Haven,-Connecticut) in `spaghetti` tutorial): ```python...
Grabbing the centroids needs to be refactored to reflect the deprecation: ``` /Users/serge/miniconda3/envs/pysal-iale2022/lib/python3.9/site-packages/libpysal/weights/weights.py:1296: FutureWarning: Passing a dict as an indexer is deprecated and will raise in a future version. Use...
How to import weight matrix generated by other software or manually ,Such as Stata or Excel (weight_matrix.dta of weight_matrix.csv)? or How to generate distance weight matrix from latitude and longitude...
Fix#445
Hello! Please make sure to check all these boxes before submitting a Pull Request (PR). Once you have checked the boxes, feel free to remove all text except the justification...