Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas compatibility #18

Open
MJoosten opened this issue Dec 13, 2023 · 1 comment
Open

pandas compatibility #18

MJoosten opened this issue Dec 13, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@MJoosten
Copy link
Collaborator

There seems to be a funny version incompatibility between numpy, pandas, matplotlib and seaborn where the kdeplot function in seaborn (or the histplot function with the parameter kde=True) give a ValueError of the form:
valueerror: multi-dimensional indexing (e.g. obj[:, none]) is no longer supported. convert to a numpy array before indexing instead.

One solution is to maintain the following versions of these libraries where this error does not occur:
numpy==1.25.2
matplotlib==3.7.2
pandas==2.1.4
seaborn==0.13.0
Python==3.10.13

@MJoosten MJoosten added the documentation Improvements or additions to documentation label Mar 1, 2024
@JatGreer
Copy link
Contributor

JatGreer commented Mar 6, 2024

If this reoccurs after re-testing the Paper ipynbs, feel free to update the environment in the pyproject.toml to these versions of packages, run all the pytests and if successful continue to use these versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants