Skip to content

Commit 129aaea

Browse files
ihsansecerWillAyd
authored andcommitted
DOC: Fix rolling doc with win_type triang (#26794)
1 parent b8ad9da commit 129aaea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ class Window(_Window):
530530
>>> df.rolling(2, win_type='triang').sum()
531531
B
532532
0 NaN
533-
1 1.0
534-
2 2.5
533+
1 0.5
534+
2 1.5
535535
3 NaN
536536
4 NaN
537537

0 commit comments

Comments
 (0)