title: error (429) Too Many Requests while geocoding with geopy in Python
body: <p>I have a <code>Pandas</code> dataframe with ~20k rows, and I am trying to geocode by address column into lat/long coordinates.</p>
  
  <p>How do I use <code>time.sleep()</code> or maybe other function to stop OSM Nominatim from <code>Too Many Requests 429 error</code> that I am getting now?</p>
  
  <p>Here's the code I use for this:</p>
  
  <pre><code>from geopy.geocoders import Nominatim
  from geopy.distance import vincenty
  
  geolocator = Nominatim()
  df['coord'] = df['address'].apply(geolocator.geocode).apply(lambda x: (x.latitude, x.longitude))
  df.head()
  </code></pre>
  
  <p>Thanks in advance!</p>