UDST / pandana

Pandas Network Analysis by UrbanSim: fast accessibility metrics and shortest paths, using contraction hierarchies :world_map:
http://udst.github.io/pandana
GNU Affero General Public License v3.0
386 stars 84 forks source link

FutureWarning .as_matrix() > .values #103

Closed sablanchard closed 5 years ago

sablanchard commented 5 years ago

Getting a future warning, for example:

FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
  distances, indexes = self.kdtree.query(xys.as_matrix())

should be updated next release.

smmaurer commented 5 years ago

Update:

This has been partially addressed, but it looks like there are still instances of .as_matrix in network.py, test_cyaccess.py, and tmp.py.

smmaurer commented 5 years ago

Resolved in PR #124.