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 change append -> concat (append in dfs removed in pandas>=2.) #1525

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

skon7
Copy link

@skon7 skon7 commented Sep 13, 2023

resolves #1518 and #1526

Issue:

#1518 (AttributeError: 'DataFrame' object has no attribute 'append')

Description

This pull request addresses issues #1518 and #1526 by replacing the append function with the concat function. The issue was caused by a compatibility problem with pandas versions greater than 2.

examples/nlp/masked_language_modeling.py Outdated Show resolved Hide resolved
examples/nlp/md/masked_language_modeling.md Outdated Show resolved Hide resolved
examples/nlp/ipynb/masked_language_modeling.ipynb Outdated Show resolved Hide resolved
@skon7 skon7 requested a review from qlzh727 September 21, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'DataFrame' object has no attribute 'append'
3 participants