I have a data set of accidents wherein each accident is given an ID, a small description and time of occurrence in 24hr hh:mm format. Accidents are not unique. I am trying to plot a histogram showing the frequency of accidents in each time-slice (i.e. 15 min period or 30 min Period)
The goal is to bin the 'Time' column into bins of 15 mins, and to show in a histogram the number of accidents occurring in each bin. Time would be on x-axis and number of accidents on y-axis.
All the posts I have seen so far are about some kind of a bi-variate distribution. I only have one variable - Time. Also, it's a datetime object, so there is some problem in plotting it directly.