I would like to do some reverse geocoding on my dataframe using geopy. However, I have 3000 obs and it raises the GeocoderServiceError: HTTP Error 429: Too Many Requests.
I would then like to run the code using the apply method together with a time.sleep in order to send a request every 0.5 millisecond. Anyone can help me with this?
here is my code:
home['coords'] = home['Latitude'].map(str) + ", " + home['Longitude'].map(str)
home['address'] = home['coords'].apply(geolocator.reverse)
Thank you, Fede