New to python, I have a cvs file with lat/long and I am trying to retrieve the addresses, how can I pass my lat/long string to geolocator
with open('try.csv', 'rb') as f:
reader = csv.DictReader(f)
for row in reader:
geolat = row['pickup_latitude']
geolong = row['pickup_longitude']
# point = Point(float(row['pickup_latitude']), float(row['pickup_longitude']))
val1 = ("\""+geolat+", ")
val2 = (geolong+"\"")
val = val1 + val2
print val
# var returns "40.750912, -73.99102"
location = geolocator.reverse(val)