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
dist = []
for i in range(len(df)):
dist.append(geopy.distance.vincenty(df.iloc[i]['Start Coordinates'],df.iloc[i]['End Coordinates']).miles)
if (i%1000000==0):
print(i)
I used geopy.distance.vincenty package but I got error saying that vincenty is not in geopy.distance package. Later when I used geodisc package I am getting error as
ValueError: Point coordinates must be finite. (nan, nan, 0.0) has been passed as coordinates
Later I tried using disance.csv file but I am not sure regarding columns in distance.csv file.
Could you please let me know the columns used in distance.csv file else can you please share distance.csv file.
Regards,
Saranya K
The text was updated successfully, but these errors were encountered:
I am using
I used geopy.distance.vincenty package but I got error saying that vincenty is not in geopy.distance package. Later when I used geodisc package I am getting error as
ValueError: Point coordinates must be finite. (nan, nan, 0.0) has been passed as coordinates
Later I tried using disance.csv file but I am not sure regarding columns in distance.csv file.
Could you please let me know the columns used in distance.csv file else can you please share distance.csv file.
Regards,
Saranya K
The text was updated successfully, but these errors were encountered: