-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgeocode.py - ValueError: too many values to unpack (expected 3) #2
Comments
Thanks for the report! Yes, there was a breaking change in pandas between versions 0.22 and 0.23 for The proposed fix is Python 3 only, something like the following should work with both 2 and 3 though, reader, encoding, compression = get_filepath_or_buffer(url)[:3] A pull request to fix it would be very much appreciated! |
Thank you very much. This is very helpful and I really appreciate your work. FYI your library rocks 💯 |
Thanks @michael-johnson-lucas ! Great to know that you find this library useful :) |
Another workaround until new version is released is to fix pandas version to 0.22.0 . |
Closes #2 Makes sure we are compatible with pandas 0.23
Thanks for the reminder. Compatibility with pandas 0.23 should be fixed in the 0.1.1 release, please upgrade with,
|
Description
At the first run, whenever trying to download a new country, you get this error.
A solution has been provided.
Pipfile
Error
Change
File: pgeocode.py
The text was updated successfully, but these errors were encountered: