reader = csv.reader(urllib.request.urlopen(url), delimiter=',')
cleaned = sorted([([r[0]] + map(float, r[1:])) for r in list(reader)[1:]])
for i, row in enumerate(cleaned):
    pass
Calculating difference between two rows in Python / Pandas