Giter VIP home page Giter VIP logo

Comments (8)

josesho avatar josesho commented on May 29, 2024

Hi,

which version of pandas are you using?

Thanks,
Joses

from dabest-python.

heikostark avatar heikostark commented on May 29, 2024

Requirement already up-to-date: pandas in /usr/local/lib64/python3.7/site-packages (0.25.1)
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in /usr/local/lib64/python3.7/site-packages (from pandas) (1.17.1)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /usr/local/lib/python3.7/site-packages (from pandas) (2019.2)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.6.1 in /usr/lib/python3.7/site-packages (from pandas) (2.8.0)
Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib/python3.7/site-packages (from python-dateutil>=2.6.1->pandas) (1.12.0)

Best regards,
Heiko

from dabest-python.

josesho avatar josesho commented on May 29, 2024

Hi,

As seen in #52 and #60 (my bad, I shouldn't have closed these unresolved issues), dabest doesn't play properly with pandas=0.25. For now, I would advise using pandas='0.24.

Thanks,
Joses

PS the easiest way to get any package's version is to run

pandas.__version__

in a Jupyter cell.

from dabest-python.

lrq3000 avatar lrq3000 commented on May 29, 2024

I get the same error, and probably for the same reason. Any hint on how to fix the issue with pandas >= 0.25?

from dabest-python.

mje-nz avatar mje-nz commented on May 29, 2024

@lrq3000 It should be fixed in pandas v0.26.0.dev0, which you can install from source. Why not just downgrade (pip install "pandas<0.25" --force-reinstall) or use a venv for now though?

from dabest-python.

lrq3000 avatar lrq3000 commented on May 29, 2024

Yes thank you, apparently it's going to be fixed with 0.25.2 minor revision but no ETA, so I'll downgrade meanwhile.

from dabest-python.

josesho avatar josesho commented on May 29, 2024

@BioinfoTongLI I think you should do what @mje-nz suggests: set up a conda env or venv, and either install pandas==0.26.0.dev0 from source, or downgrade to pandas=0.24. Hope this solves your problem!

from dabest-python.

josesho avatar josesho commented on May 29, 2024

Closed with #89

from dabest-python.

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.