While plotting time-series date, i\'m trying to plot the number of data points per hour:
fig, ax = plt.subplots() ax.hist(x = df.index.hour, bins = 24