Skip to content

Commit 671b384

Browse files
Merge pull request #9419 from graingert/patch-3
Fix truncated Index monotonic documentation
2 parents 5dc8009 + ac85f84 commit 671b384

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/core/index.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -581,15 +581,17 @@ def is_monotonic(self):
581581

582582
@property
583583
def is_monotonic_increasing(self):
584-
""" return if the index is monotonic increasing (only equal or
585-
increasing) values
584+
"""
585+
return if the index is monotonic increasing (only equal or
586+
increasing) values.
586587
"""
587588
return self._engine.is_monotonic_increasing
588589

589590
@property
590591
def is_monotonic_decreasing(self):
591-
""" return if the index is monotonic decreasing (only equal or
592-
decreasing values
592+
"""
593+
return if the index is monotonic decreasing (only equal or
594+
decreasing) values.
593595
"""
594596
return self._engine.is_monotonic_decreasing
595597

0 commit comments

Comments
 (0)