I keep getting an error Unnamed 0 is seen in your code when I want to submit my solution

loan_prediction

#1

Hi,
When I what to submit my solution to solution checker it gives me the following error:

Keys: [Unnamed: 0] were not expected but found in your submission.

What am I missing?


#2

Hi @miremad,

You probably have a column with the header 0. Please share the screenshot of the first few rows in submission file.


#3

Hi, Here it is


#4

The csv file you submit should only have two columns. Loan_ID and Loan_Status. Instead, you have three columns, one represents the index which starts from 0.

Ideally, the submission file should be like :

DISCUSS


#5

Hi @miremad,

Please share your submission file. That would help us to clarify the doubt in a better way.


#6

I removed the Column and it worked. Thanks!


#7

[something: Name of Column] means you have an error with this Column “in your case it’s 0”
not expected but found this means it should not be found in your submission.
Please @miremad read you problem logs carefully and be open minded and you’ll find any solution for your problems.