2022-02-03

Tech Programing

程式人小天地

Writing monthly data into csv

1 min read


I am reading analogue data from a sensor along with date and time and storing into a csv file.

However after a year i have a whole lot of data points in one file and navigation if difficult.

I Would now like to record all sensor readings in files labeled by the month the data was taken. i.e April analogue reading get written to April.csv, May analogue readings get written to May.csv. I would like to write a new file at the beginning of each new month to store the data of that month.

I Was hoping to hear suggestions on methods i can use to achieve this ()



Source link

資料來源:Stackoverflow

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *