Merge pull request 'Remove lines referring to pickle' (#24) from dev into main
Reviewed-on: #24
This commit is contained in:
commit
65720fa895
|
@ -1,13 +1,7 @@
|
|||
from geopy.distance import distance
|
||||
import os
|
||||
from pandas import read_pickle
|
||||
from django.db.models import F, Func
|
||||
from pflaenzli.models import Plz
|
||||
|
||||
path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
df = read_pickle(os.path.join(path, 'plz.pkl'))
|
||||
|
||||
|
||||
def calculate_distance(plz_1: Plz, plz_2: Plz):
|
||||
if plz_1 == plz_2:
|
||||
|
|
Loading…
Reference in a new issue