🌈 搜索
📅  最后修改于: 2022-03-11 14:45:50.230000             🧑  作者: Mango
df.rolling(2).sum() B 0 NaN 1 1.0 2 3.0 3 NaN 4 NaN