for the sample data below, I\'d like to compute the mean time delta gap between events, grouped by customer id.
what\'s the best way to achieve this in panda