You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
When applying the user defined function
nearest()
to the GeoDataFramedf1
you get the below error:This is caused by this line in the function:
And that's because
pandas.DataFrame.get_values()
was deprecated in Pandas since version 0.25.0 (I'm using Pandas v1.0.4 and Geopandas v0.7.0).The below code works:
The text was updated successfully, but these errors were encountered: