Financial Inclusion in Africa
Can you predict who in Africa is most likely to have a bank account?
Prize
Knowledge
Time
Active
Participants
1153 active · 3717 enrolled
Helping
Africa
Good for beginners
Prediction
Financial Services
Submisson error
Help · 7 Sep 2019, 00:02 · 2

submission_df = pd.DataFrame({"uniqueid":test1["uniqueid"] + "x" + test1["country"],"bank_account":test_target})

submission_df.to_csv("submission_df.csv",index=False)

thats my submission code.

any help please

Discussion 2 answers

hello,

you should have space befor and after " x ". So the code may look like this :

ubmission_df = pd.DataFrame({"uniqueid":test1["uniqueid"] + " x " + test1["country"],"bank_account":test_target})

submission_df.to_csv("submission_df.csv",index=False)