UDST / urbanaccess

A tool for GTFS transit and OSM pedestrian network accessibility analysis by UrbanSim
https://udst.github.io/urbanaccess/index.html
GNU Affero General Public License v3.0
236 stars 56 forks source link

as_matrix deprecated #65

Closed cvanoli closed 4 years ago

cvanoli commented 4 years ago

as_matrix() has been deprecated from pandas since version 0.23.0. Pandas recommends using df.to_numpy (available from version 0.24.0.) or df.values . As_matrix() is used _nearest_neighbor function in urban access.network. Solving comment #60 .

cvanoli commented 4 years ago

Nice! Thanks @sablanchard for the unit test.