May-22-2020, 09:41 AM
As the message says: data is not a float. And also as the message shows: data is a lot of floats. That is the problem. You have to convert the text lines one by one to float. I guess something like (untested):
for dataline in data: print(float(dataline))