I have a particular data file that has 7 columns total: 1 column of time and 6 columns of data. As depicted in the image I attached, the first column represents time, while the next four columns represent the data. It seems that from the 4th column of data onwards, it gets wrapped to the bottom with a little black upwards arrow, followed by a repeat in time as the first column again and the remaining two data columns represents the 5th and 6th column of data.
I am unable to load the data in python using np.loadtxt
. How can I load the data while correctly accessing and extracting the 5th and 6th column of the data? I’m suppose to generalize this for 400 columns of data eventually.
I tried data = np.loadtxt('temp_59324.dat',delimiter = None)
and it returns an error. If I only ask for a total of 5 columns of data (1 column of time, 4 columns of actual data), then np.loadtxt
loads correctly. But anything other than 5 results in an error