I have the following DataFrame that contains for each hour the corresponding demand. I want to somehow group those hours based on similar demand but the groupin