Receiving KeyError: “None of [Int64Index([ … dtype='int64', length=1323)] are in the [columns]”
问题 SUMMARY When feeding test and train data into a ROC curve plot, I receive the following error: KeyError: "None of [Int64Index([ 0, 1, 2, ... dtype='int64', length=1323)] are in the [columns]" The error seems to be saying that it doesn't like the format of my data, but it worked when run the first time and I haven't been able to get it to run again. Am I incorrectly splitting my data or sending incorrectly formatted data into my function? WHAT I'VE TRIED Read through several StackOverflow