I have a DataFrame df structured as follows:
date_time id value 2020-12-06 17:00 A 10 2020-12-06 17:05 A 18 2020-12-06 17:00 B 2