pysal / inequality

Measures of spatial (and non-spatial) inequality
https://pysal.org/inequality
BSD 3-Clause "New" or "Revised" License
28 stars 15 forks source link

Inconsistent results with different input shape for Spatial_Gini #16

Open vyktran opened 2 years ago

vyktran commented 2 years ago

When using Spatial_Gini(), if the input (x) shape is (n_attributes, 1), the returned spatial gini index is significantly larger than when the input shape is (n_attributes,). The result for when input shape is (n_attributes, 1) is also not consistent between runs.

image