Closed MyrnaSastre closed 5 years ago
hm... weird, this is not supposed to be happening, could you share a reproducible script? Also, did you type segregation.__version__
to check if it is indeed version 1.1.1?
In addition, to see if it is gonna work, try changing your code to:
import segregation
index = segregation.spatial.SpatialDissim(gdf, 'variable_name_1', 'variable_name_2')
type(index)
I'm closing this, since me and @myrnasastre check here locally that this was due to the usage of an older version of segregation. Newer version, like, 1.1.1, shall not present this issue.
I'm getting this ModuleNotFoundError:
I have segregation (1.1.1) and PySAL 2.1.0 in my environment.
Any suggestions? Thanks!