1

I want to use the compare() function available in Pandas 1.1.0. I am doing an update in Anaconda to Pandas, but it just takes me to 0.25?

8
  • 2
    Did you try pip install --upgrade pandas in conda prompt? Commented Jul 27, 2020 at 16:16
  • 1
    first run conda update conda and then `conda update pandas' Commented Jul 27, 2020 at 16:17
  • 1
    @Sociopath I thought it was bad to mix pip and conda? Commented Jul 27, 2020 at 16:27
  • @smackenzie it is. don't do it unless the package you're looking for is not available in conda. Commented Jul 27, 2020 at 16:37
  • which version of python is your environment using? Commented Jul 27, 2020 at 16:39

3 Answers 3

1

Pandas hasn't released v1.1.0 as of now, current PyPI latest version is v1.0.5

Recently pandas released first release candidate you can install this pandas version v1.1.0rc0 using

python -m pip install --upgrade --pre pandas==1.1.0rc0 

Please go thorough Pandas 1.1.0rc0

One more way is to clone the pandas-dev/pandas repo locally and build it locally pandas has good resource go thorough Creating development environment

After successfully building, you can check by doing this.

Open python and import pandas

import pandas as pd pd.__version__ # '1.1.0rc0+2.g3e88e170a' # my build version. 

Note:

pd.__version__ is different for everyone if you are building from GitHub locally.

If you have any queries regarding development of pandas they have an active Gitter channel pandas

Sign up to request clarification or add additional context in comments.

Comments

1

Typing conda update pandas should do the job.

4 Comments

does the job in that it took me from 0.24 to 0.25!!
Yes, see my response
Updating pandas is constricted by anaconda -> requires pandas==0.25.1=py37ha925a31_0
maybe you could try reinstalling anaconda
1

Have you tried: conda install pandas=1.1.0.
You may need to add a channel that contains pandas 1.1.0.
Conda forge contains pandas 1.0.5
conda config --add channels conda-forge

1 Comment

PackagesNotFoundError: The following packages are not available from current channels: - pandas=1.1.0 Current channels: - repo.anaconda.com/pkgs/main/linux-64 - repo.anaconda.com/pkgs/main/noarch - repo.anaconda.com/pkgs/r/linux-64 - repo.anaconda.com/pkgs/r/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.