I create a groupby data frames like this:
df[\'Datetime\'] = pd.to_datetime(df.Date) + pd.to_timedelta(df.Hour, unit=\'h\') grouped = df.set_index(\'Datetime\').g