📅  最后修改于: 2022-03-11 14:45:38.307000             🧑  作者: Mango
#DataFrame.groupby() method
e.g
day.groupby('month')
e.g2
day['month'] = day['date_time'].dt.month
by_month = day.groupby('month').mean()
by_month['traffic_volume']