课程评价 (0)

请对课程作出评价:
0/300

学员评价

暂无精选评价
3分钟

groupby

另一种降采样的办法是:使用groupby功能。如:

 series.groupby(lambda x:x.month).mean()

如果你想根据年份来聚合,则使用x.year