Skip to content

Commit 9012e1e

Browse files
authored
DOC: updated base.py and datetimes.py in core/indexes for PR08 (#34591)
* DOC: updated base.py and datetimes.py in core/indexes for PR08 * DOC: updated datetimes.py to remove trailing whitespaces
1 parent 1938b4f commit 9012e1e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def is_(self, other) -> bool:
517517
Parameters
518518
----------
519519
other : object
520-
other object to compare against.
520+
Other object to compare against.
521521
522522
Returns
523523
-------

pandas/core/indexes/datetimes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,9 @@ def indexer_at_time(self, time, asof=False):
721721
Parameters
722722
----------
723723
time : datetime.time or str
724-
datetime.time or string in appropriate format ("%H:%M", "%H%M",
725-
"%I:%M%p", "%I%M%p", "%H:%M:%S", "%H%M%S", "%I:%M:%S%p",
726-
"%I%M%S%p").
724+
Time passed in either as object (datetime.time) or as string in
725+
appropriate format ("%H:%M", "%H%M", "%I:%M%p", "%I%M%p",
726+
"%H:%M:%S", "%H%M%S", "%I:%M:%S%p", "%I%M%S%p").
727727
728728
Returns
729729
-------
@@ -762,9 +762,9 @@ def indexer_between_time(
762762
Parameters
763763
----------
764764
start_time, end_time : datetime.time, str
765-
datetime.time or string in appropriate format ("%H:%M", "%H%M",
766-
"%I:%M%p", "%I%M%p", "%H:%M:%S", "%H%M%S", "%I:%M:%S%p",
767-
"%I%M%S%p").
765+
Time passed either as object (datetime.time) or as string in
766+
appropriate format ("%H:%M", "%H%M", "%I:%M%p", "%I%M%p",
767+
"%H:%M:%S", "%H%M%S", "%I:%M:%S%p","%I%M%S%p").
768768
include_start : bool, default True
769769
include_end : bool, default True
770770

0 commit comments

Comments
 (0)