I have the datalike
mode departure_time activity_purpose
car 7:08 work
car 8:45 work
bike 6:34 school
walk 5:45 work
walk 6:20 school
how to calculate the average departure time for each activity purpose? And how to draw graph shows the departure time distribute? the y should be count and x should be departure time with format 5:00, 6:00, 7:00 etc.
Thanks for all the help!
