使用这句代码: temp = pd.rolling_mean(temp, 2) 会报以下错误:
AttributeError: module 'pandas' has no attribute 'rolling_mean'
解决方法:
将代码改为:temp = temp .rolling(2).mean()
觉得有用请留下你的赞 ^_^
AttributeError: module 'pandas' has no attribute 'rolling_mean'
觉得有用请留下你的赞 ^_^