kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Fix issue 136 - Use pandas.Series.to_numpy().nonzero #158

Closed yiyange closed 4 years ago

yiyange commented 4 years ago

Fixes #136

Update pandas.Series.nonzero (deprecated since 0.24.0 https://pandas.pydata.org/pandas-docs/version/0.25.3/reference/api/pandas.Series.nonzero.html) to pandas.Series.to_numpy().nonzero