Closed sandervh14 closed 1 year ago
This issue is for short term support. We can integrate pandas 2.0 on a longer term on issue #160.
If this also inflicts cobra users who install by using pip install pythonpredictions-cobra
, then the pandas version should be limited in setup.py
as well. requirements.txt
and conda_env.yml
will only be used by cobra developers
Task Title
Task: Short term pandas 2.0 support: avoid pandas==2.0 installation.
Task Description
On installing a fresh conda environment for a cobra experiment just now, I got this error during pandas preprocessing:
Pandas 2.0 removed inplace arguments: https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html
Add in the requirements.txt and readme.md a <=2.0.0 clarification for short term support, to avoid many cobra users struggling.