Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@KostyaEsmukov
Copy link
Member

Hopefully this PR would resolve the outstanding issues related to usage with pandas and rate-limiting exceptions.

This PR adds a new RateLimiter class, which wraps a geolocator.geocode method and proxies calls to it, while applying delays, retrying on errors, swallowing exceptions and so on. See the updated docs for more detail.

Also along with the RateLimiter class a new doc section related to usage with pandas has been added.

Closes #315

@KostyaEsmukov KostyaEsmukov added this to the 1.16 milestone Jul 27, 2018
@KostyaEsmukov KostyaEsmukov force-pushed the add-ratelimiter branch 2 times, most recently from bdac38b to c90a2d9 Compare July 28, 2018 00:15
@KostyaEsmukov KostyaEsmukov mentioned this pull request Jul 28, 2018
25 tasks
@KostyaEsmukov KostyaEsmukov merged commit 2bef966 into master Jul 28, 2018
@KostyaEsmukov KostyaEsmukov deleted the add-ratelimiter branch July 28, 2018 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pandas doc section, address the rate-limiting issue

2 participants