I have a list containing the strings of my data files. When I read the data I expect to see a numpy array with 3 columns of floats but instead I just get nan.
FILE_NAMES = ['file1.csv', 'file2.csv']
data = np.genfromtxt(FILE_NAMES, delimiter=',', skip_header=1)
print(data)
Here is an example of the data:
The values in all three of the columns are floats.
All it returns is:
nan
Can someone tell me what I need to change?

That it didn't give an error initially puzzled me, but then I realized that:
genfromtxtaccepts either a filename, or anything that gives it strings, like an open file, or a list of strings. I often use such a list with copy-n-paste file samples.It's in effect parsing this file
With 1 header line and 1 non-float data line. Hence the
nandata.