Pandas rolling but involves last rows value

后端 未结 0 696
甜味超标
甜味超标 2020-12-04 16:47

and I tried to apply .rolling to dataset, here is the code

fv = pd.Series([1,1,1,1,1])
cv = fv.rolling(3).sum()
cv

But the result of course w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题