You should make sure that the data at each NODE is stored as a list or tuple;you could print your data to see if they are in the correct form.
For example, Data in myData.txt are:
If you want to read the second column of these datas, like this:
f = open(r"myData.txt", "r")
lines=f.readlines()
values=[]
for line in lines:
values.append(line.split( ))
# for j in range(len(values)):
# print ('values:',j,values[j][1])
myData =[0]*len(lines)
for i in range(len(myData)):
myData[i]=[(values[i][1])]
print('myData:',myData)
the true form is [['0.01'], ['0.02'], ['0.03']]; but the sequence ['0.01', '0.02', '0.03'] may cause error.
Good luck!