Error while making the submission

i am trying to make my submission of the csv file,but its not getting submitted and i am nit getting any result

Hey @saksham_thukral, make sure you csv follows the sample submission format.

Happy Learning :blush:

but i have matched my csv with that of sample_submission given, it looks same to me, is there any way you can check my for my csv, then plz tell

Hey @saksham_thukral, upload your csv on google drive and share the link here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Hey @saksham_thukral, you have reopened the doubt. Is there any part still left for clarification. :blush:

"https://drive.google.com/file/d/1pOPhUnxVYwCzTJ53kVAM9gTS_f02EkMC/view?usp=sharing " :- link to my csv file on google drive, plz if u can check the problem.

Hey @saksham_thukral, your csv file does not cotain column headings “Id” and “Survived”
pd.DataFrame( data).to_csv(‘mysubmission.csv’, index = False, header = [‘Id’,“Survived”]

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section.

I tried this line also , but it was giving an error as it is saying that there is a single column but i am giving two aliasis ie two names , so i tried some other things also but not wroking for them, plz if u can check my code ?

Hey @saksham_thukral, you need to add these column headers, add as you wish. I am not aware how you are making the csv. Just ensure that it follows the submission.csv format.

Got the error , thanx for the help :blush:

1 Like