摘要: 1 i_week=data_365['星期'].unique() 2 for temp1 in i_week: 3 temp_data=width_365[data_365['星期'].isin([temp1])] 4 exec("df%s = temp_data"%temp1) 5 del tem 阅读全文
posted @ 2020-04-13 16:01 Shilo 阅读(793) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd data1_group=data1['count_num'].groupby(data1['i_week']) i2=data1_group.mean() print(pd.DataFrame(i2)) print(data1_group.size()) pr 阅读全文
posted @ 2020-04-13 15:58 Shilo 阅读(3571) 评论(0) 推荐(0) 编辑