MartinLe
Civil/Environmental
- Oct 12, 2012
- 394
I have the following situation:
I have spreadsheets with measured values for a year, at 5s intervalls (actually I had sveral csv files that I cut into months to reach smaller filesizes). I'D like to reduce the file sizes and further. Ideally I would turn this ...
[tt]
00:00:04 value
00:00:09 value
...
[/tt]
into this:
[tt]
00:00:04 average of previous 5 min
00:05:04 average of previous 5 min
[/tt]
Now I could ad a column that averages the previous 60 lines, but then I'd have to manually remove 59 lines, leave one, etc about 2000 times to edit one week worth of data. Is there a way to do this smarter (not by hand)?
I have spreadsheets with measured values for a year, at 5s intervalls (actually I had sveral csv files that I cut into months to reach smaller filesizes). I'D like to reduce the file sizes and further. Ideally I would turn this ...
[tt]
00:00:04 value
00:00:09 value
...
[/tt]
into this:
[tt]
00:00:04 average of previous 5 min
00:05:04 average of previous 5 min
[/tt]
Now I could ad a column that averages the previous 60 lines, but then I'd have to manually remove 59 lines, leave one, etc about 2000 times to edit one week worth of data. Is there a way to do this smarter (not by hand)?