You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it may have some mistakes in main.py, when I run the code with drinkingFountains.csv dataset get an error:
"Traceback (most recent call last):
File "main.py", line 13, in
loc_ = Point(float(line[0]), float(line[1])) #tuples for location
ValueError: could not convert string to float: MAPID"
Because the first line in drinkingFountains.csv is header,,not a float num, it may be revised as:
for line in reader: => for line in islice(reader,1,None):
The file main.py has an barcoded path to this input file:
/home/kazem/Downloads/Hackathon/drinkingFountains.csv
It should take it as input parameter.
The text was updated successfully, but these errors were encountered: