I have timeseries data that looks like this:
datetime generation
2022-01-31 00:00 1234
2022-01-31 00:15 4930
2022-01-31 00:30 2092
2022-01-31 00:45 20302
2022-01-31 01:00 483
2022-01-31 01:15 4924
2022-01-31 01:30 5970
2022-01-31 01:45 3983
I would like to downsample my data from 15-minute frequencies to 1-hour frequencies. So, the first 4 rows above would be summed under 00:00 timestamp, then next 4 rows would be combined under 01:00.
datetime generation
2022-01-31 00:00 28558
2022-01-31 01:00 15360
Is there an efficient way to make this happen?