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

PLP_design.ipynb error with pandas >=2.0.0 #1

Open
Sverreg opened this issue Nov 24, 2023 · 1 comment
Open

PLP_design.ipynb error with pandas >=2.0.0 #1

Sverreg opened this issue Nov 24, 2023 · 1 comment

Comments

@Sverreg
Copy link

Sverreg commented Nov 24, 2023

Running the extract and align sequences cell produces an AttributeError: 'DataFrame' object has no attribute 'append'. As far as I can tell, the requirements specify the pandas version to >=1.1.5, and the .append function is deprecated in pandas 2.0.0. I'm not sure if the best solution is to restrict the pandas version to sub 2.0.0, or change all the instances of df.append in the code. For my use, changing the pandas requirement to pandas==1.1.5 resolved the issue.

Screenshot from 2023-11-24 15-57-26

@mgcizzu
Copy link
Collaborator

mgcizzu commented Dec 6, 2023

Fixed, thank you!
Now the installation forces pandas==1.1.5

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

No branches or pull requests

2 participants