Hi guys, I am having an issue where whenever I try to submit the prediction I get an error saying that I have some missing ID in my prediction. However, when I go to check my prediction file all the IDs the system says that I am missing are clearly in inside the file along with its yield. BTW my prediction does have 1290 rows in total. Can someone please help 😢
sample=pd.read_csv('SampleSubmission.csv')
sample['Yield']=pred
sample.to_csv('submission.csv',index=False)
it's work better!
Yeah it mostly happens when you have index in your submission file
So when converting it into csv set the index parameter to false.
sub.to_csv("BenchmarkSubmission.csv", index=False)