I'm attempting to create a map using Python and the beautiful soup library.
I am a newbie and am inexperienced with programming.
I am receiving the attached error and am unsure how to proceed. Presumably there is an issue with my data file (a csv file).
What is Python telling me? What does "new line character in unquoted field" mean?
Here is the code:
# Read in script rates
scriptrate = {}
min_value = 100; max_value = 0
reader = csv.reader(open('/users/gcameron/Desktop/map/data.csv'), delimiter=",")
for row in reader:
try:
county = row[1]
rate = float( row[2].strip() )
rate[county] = rate
except:
pass