I get the unexpected character after line continuation character error after the first line of my code:
CSV3 = pd.DataFrame({"VS (kn)" : vsrangekn, "VS (m/s)" : vsrange, "Mean Open Water Eff." : etaOSmean, \
"Mean Behind Efficiency" : etaBSmean, "Mean Hull Eff." : hulleffmean, \
"Mean Quasi-Propulsive Eff." : etaDSmean, "Maximum Open Water Eff." : etaOSmax, \
"Maximum Behind Eff." : etaBSmax, "Maximum Hull Eff." : hulleffmax, \
"Maximum Quasi-Propulsive Eff." : etaDSmax, "Minimum Open Water Eff." : etaOSmin, \
"Minimum Behind Eff." : etaBSmin, "Minimum Hull Eff." : hulleffmin, \
"Minimum Quasi-Propulsive Eff." : etaDSmin})
CSV3.insert(7, '', empty_array)
CSV3.insert(13, '', empty_array)
CSV3.to_csv("SD3mean.csv", index=False)
I don’t have a space after the backslashes and the format works fine in the other places I use it. Does anyone have an idea of what the problem is?