Extract morning and evening peak hour data at 24 hours a day

Extract morning and evening peak hour data at 24 hours a day

insert image description here

df_1_11_morning = df_1_11[(df_1_11['time'] >= '07:00:00') & (df_1_11['time'] <= '09:00:00')]
df_1_11_night = df_1_11[(df_1_11['time'] >= '17:00:00') & (df_1_11['time'] <= '19:00:00')]

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43697614/article/details/122968252