Skip to content

Commit aaea626

Browse files
committed
Retry fixing docstring
1 parent fd87793 commit aaea626

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/window/expanding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def kurt(self, numeric_only: bool = False):
674674
dedent(
675675
"""
676676
GroupBy.first : Similar method for GroupBy objects
677-
Expanding.last : Method to get the last element in each window
677+
Expanding.last : Method to get the last element in each window\n
678678
"""
679679
).replace("\n", "", 1),
680680
create_section_header("Examples"),
@@ -710,7 +710,7 @@ def first(self, numeric_only: bool = False):
710710
dedent(
711711
"""
712712
GroupBy.last : Similar method for GroupBy objects
713-
Expanding.first : Method to get the first element in each window
713+
Expanding.first : Method to get the first element in each window\n
714714
"""
715715
).replace("\n", "", 1),
716716
create_section_header("Examples"),

pandas/core/window/rolling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ def kurt(self, numeric_only: bool = False):
25652565
dedent(
25662566
"""
25672567
GroupBy.first : Similar method for GroupBy objects
2568-
Rolling.last : Method to get the last element in each window
2568+
Rolling.last : Method to get the last element in each window\n
25692569
"""
25702570
).replace("\n", "", 1),
25712571
create_section_header("Examples"),
@@ -2601,7 +2601,7 @@ def first(self, numeric_only: bool = False):
26012601
dedent(
26022602
"""
26032603
GroupBy.last : Similar method for GroupBy objects
2604-
Rolling.first : Method to get the first element in each window
2604+
Rolling.first : Method to get the first element in each window\n
26052605
"""
26062606
).replace("\n", "", 1),
26072607
create_section_header("Examples"),

0 commit comments

Comments
 (0)