Copulas icon indicating copy to clipboard operation
Copulas copied to clipboard

Why does copulas downgrade pandas to 0.25.3? Incompatibilities with seaborn

Open garfieldthecat opened this issue 3 years ago • 2 comments

I cannot use copulas because installing it using conda forge downgraded pandas to 0.25.3, which in turn broke a lot of my seaborn code.

  1. Why does copula require pandas 0.25.3? I didn't find this mentioned anywhere in the docs. Is there a way for it to work with the latest pandas?
  2. If there isn't, do you have a yaml file or a way to create an alternative environment? Like I said, copula's downgrade of pandas broke my seaborn code. maybe I need to downgrade seaborn, too, not sure?

garfieldthecat avatar Jul 05 '21 09:07 garfieldthecat

Hi @garfieldthecat I'm not sure about why you got pandas downgraded to 0.25 when installing copulas, because Copulas currently requires pandas>=1.0,<1.1.5, as you can see in the setup.py

https://github.com/sdv-dev/Copulas/blob/dfe3bb9cc035c8d4880724db69c86e749178e65b/setup.py#L17

And in the meta.yaml

https://github.com/sdv-dev/Copulas/blob/dfe3bb9cc035c8d4880724db69c86e749178e65b/conda/meta.yaml#L29

Maybe you are using an older version of Copulas?

csala avatar Jul 22 '21 18:07 csala

+1 I have the same problem with the current PyPI version.

gboehl avatar Jan 16 '22 11:01 gboehl