I'm using PySAL for work and I have encounter a problem. I want to calculate Moran’s I for serval fields, I can open and create a weight matrix from my shapefile (w) however I don't know how to select a specific field (y).
mir = pysal.Moran(y, w, permutations = 9999)
I just want something like :
f = "Path to my shapefile" y = array from f
I don't have arcpy to read my shapefile, which I guess would make think easier.