def loadData(fileName):
x = []
y = []
fl = csv.reader(open(fileName,'r'))
x = list(fl)
y.append([row[13] for row in fl])
return x, y
I use this but got y is empty, my csv data is enter image description here
I want got x is all the rows, and y output [19.2, 20.8]