diff options
| author | itsGarrin <garrin.shieh@gmail.com> | 2023-11-07 18:36:29 -0500 |
|---|---|---|
| committer | itsGarrin <garrin.shieh@gmail.com> | 2023-11-07 18:36:29 -0500 |
| commit | 6b9d2b694821e63da8a9db47a97ce9cc6d807a4b (patch) | |
| tree | 68aee739975247d1b9375aea51018a460f1d49ad /utils.py | |
| parent | 06e5c4cd76f85fc9e6b1e73479b0668872b5c518 (diff) | |
pleb.
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 |
