One of the tools we use in our research is NIR (Near-Infrared Spectroscopy), which we apply to thousands of samples to predict their chemical composition. Each NIR spectrum is contained in a CSV text file with two numerical columns: wavelength and reflectance. All files have the same number of rows (1296 in our case), which corresponds to the number of wavelengths assessed by the spectrometer. One last thing: the sample ID is encoded in the file name.
As an example, file A1-4-999-H-L.0000.csv’s contents look like:
8994.82461,0.26393 \n8990.96748,0.26391 \n8987.11035,0.26388 \n8983.25322,0.26402 \n8979.39609,0.26417 ...