WillKoehrsen / feature-selector

Feature selector is a tool for dimensionality reduction of machine learning datasets
GNU General Public License v3.0
2.23k stars 768 forks source link

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

Open mafaldcosta opened 1 year ago

mafaldcosta commented 1 year ago

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 commented 1 year ago

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

https://github.com/pandas-dev/pandas/issues/35407

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