Im doing some tests with spectrometer and want to create an updating csv file containing the results in python. im using pandas and the loop is working great, i was able to creat an updating file but im pretty new to python, and getting hard time creating this specific structure:
the first column will be the date and the local time with an empty cell in the first value. the first row ( starting from the second cell) will be a constant vector. ==> only first row. the second row and all others ( the first value will start from the second cell - first containing the date ) will be variable.
I need help defining this structure and conditions
The result of the code should shown in ecxel as the example picture (in the example there is only time, but i do need times and dates).
Thanks a lot !
Image for reference: