I have below DataFrame, I want to calculate what is produced per hour so as it sums up to a value shown below.
ts event produced 0 20