notebooks
notebooks copied to clipboard
Import Error : OD_weights
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-4217c6ea02bd> in <module>
1 import pysal as ps
----> 2 from pysal import weights as w
3 import numpy as np
4 import scipy.sparse as sp
ImportError: cannot import name 'weights' from 'pysal' (/srv/conda/lib/python3.7/site-packages/pysal/__init__.py)
This looks like this needs to update to the new pysal structure.