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

'DataFrame' object has no attribute 'append' #61

Open
mafaldcosta opened this issue May 25, 2023 · 1 comment
Open

'DataFrame' object has no attribute 'append' #61

mafaldcosta opened this issue May 25, 2023 · 1 comment

Comments

@mafaldcosta
Copy link

mafaldcosta commented May 25, 2023

When I try to run the code for collinear features:

222             # Add to dataframe

--> 223 record_collinear = record_collinear.append(temp_df, ignore_index = True)
'DataFrame' object has no attribute 'append'

@vitorpbarbosa7
Copy link

I suppose the reason is pandas >= 2.0.0 versions deprecated the .append method for dataframes.

pandas-dev/pandas#35407

If you downgrade to a previous version, it will probably work

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