Coder Social home page Coder Social logo

Comments (5)

rth avatar rth commented on May 25, 2024

Thanks for the report!

Yes, there was a breaking change in pandas between versions 0.22 and 0.23 for pandas.io.common.get_filepath_or_buffer (pandas-dev/pandas#19645 (comment)).

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!

from pgeocode.

michael-johnson-lucas avatar michael-johnson-lucas commented on May 25, 2024

Thank you very much.

This is very helpful and I really appreciate your work. FYI your library rocks 💯

from pgeocode.

rth avatar rth commented on May 25, 2024

Thanks @michael-johnson-lucas ! Great to know that you find this library useful :)

from pgeocode.

zaro avatar zaro commented on May 25, 2024

Another workaround until new version is released is to fix pandas version to 0.22.0 .

from pgeocode.

rth avatar rth commented on May 25, 2024

Thanks for the reminder.

Compatibility with pandas 0.23 should be fixed in the 0.1.1 release, please upgrade with,

pip install --upgrade --no-deps pgeocode

from pgeocode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.