I got the following error : 'DataFrame' object has no attribute 'data' can you help please
As pointed out in the error message, a pandas.DataFrame object has no attribute named feature names. You probably meant something like df1.columns.