Pandas v. 0.23.0 (released on May 15, 2018) has deprecated data frame.as_matrix(), used when creating the integrated transit and pedestrian network.
It is used in _nearest_neighbor(df1,df2) within network.py
It should be replaced by dataframe.values
GTFS feed or OSM data (optional)
If the issue is related to a specific GTFS feed or OSM data please provide the URL to download the GTFS feed or the bounding box used to extract the OSM data.
Description of the bug
Pandas v. 0.23.0 (released on May 15, 2018) has deprecated
data frame.as_matrix()
, used when creating the integrated transit and pedestrian network.It is used in
_nearest_neighbor(df1,df2)
withinnetwork.py
It should be replaced by
dataframe.values
GTFS feed or OSM data (optional)
If the issue is related to a specific GTFS feed or OSM data please provide the URL to download the GTFS feed or the bounding box used to extract the OSM data.
Environment
Operating system: MacOS
Python version: 3.7.0
UrbanAccess version: 0.2.0
UrbanAccess required packages versions (optional):
Paste the code that reproduces the issue here:
Paste the error message (if applicable):