diff options
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,3 @@ -import folium import numpy as np import pandas as pd import requests @@ -261,4 +260,4 @@ def __distance(coordinate1, coordinate2): :param coordinate2: the second coordinate :return: the distance between the two coordinates """ - return ((coordinate1[0] - coordinate2[0]) ** 2 + (coordinate1[1] - coordinate2[1]) ** 2) ** 0.5
\ No newline at end of file + return ((coordinate1[0] - coordinate2[0]) ** 2 + (coordinate1[1] - coordinate2[1]) ** 2) ** 0.5 |
