Панды повторно разбор Groupby
grouped = df.groupby('Location').resample('H')['Event'].count()
Weary Wryneck
grouped = df.groupby('Location').resample('H')['Event'].count()