Error in Final Submission of csv file and code

While trying to submit, I keep on getting this error

Can anyone help?
I haven’t used csv conversion before. This is the code I used for conversion-
ip=pd.DataFrame(data={“id”:sv,“target”:pred})
ip.to_csv(path_or_buf="/Users/Anusuya/Downloads/Final.csv",index=False,quoting=3)

ds=pd.read_csv("/Users/Anusuya/Downloads/Final.csv")
ds[‘target’].replace(0, ‘No’,inplace=True)
ds[‘target’].replace(1, ‘Yes’,inplace=True)
ds.to_csv("/Users/Anusuya/Downloads/Final.csv", index=False)

where- id=Loan_ID
label=predictions

© Copyright 2013-2020 Analytics Vidhya