I have the following dataframe
import pandas as pd from datetime import datetime df_dict = { \'id\':[1,1,1,1,2,2,2,2], \'start_time\':[ datetime.