please help, this is the code function. I'll post the error i'm getting when I run the function and use pickle.dump
def location(cord):
latitude=str(cord[0])
longitude=str(cord[1])
location=geolocater.reverse("{}, {}".format(latitude, longitude) ).raw['address']
#if the values are missing replace by empty string
if location.get('Road') is None:
location['Road'] = None
if location.get('County') is None:
location['County'] = None
loc_update['County'].append(location['County'])
[enter image description here][1]loc_update['Road'].append(location['Road'])