-
Notifications
You must be signed in to change notification settings - Fork 2k
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
AttributeError: 'DataFrame' object has no attribute 'append' #1518
Comments
Hi, I was able to run |
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
I believe the error may be related to your Pandas version. However, in Pandas 2.0, the 'append' method has been deprecated.
|
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further. |
For masked_language_modeling.ipynb, there is the error. My system is Python 3.10, TensorFlow 2.13 and pandas 2.03.
It reminds the warning: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
AttributeError Traceback (most recent call last)
/tmp/ipykernel_97675/3156859266.py in ?()
27
28 # FutureWarning: The frame.append method is deprecated and will be removed from pandas
29 # in a future version. Use pandas.concat instead.
30 # https://stackoverflow.com/questions/75956209/error-dataframe-object-has-no-attribute-append
---> 31 all_data = train_df.append(test_df)
~/miniconda3/envs/tf/lib/python3.10/site-packages/pandas/core/generic.py in ?(self, name)
5985 and name not in self._accessors
5986 and self._info_axis._can_hold_identifiers_and_holds_name(name)
5987 ):
5988 return self[name]
-> 5989 return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'
The text was updated successfully, but these errors were encountered: