Skip to content

Commit 75b7033

Browse files
tuhinsharma121pmhatre1
authored andcommitted
DOC: Enforce Numpy Docstring Validation for pandas.DatetimeIndex.indexer_at_time (pandas-dev#58476)
* DOC: add PR01,RT03 for pandas.DatetimeIndex.indexer_at_time * DOC: remove pandas.DatetimeIndex.indexer_at_time
1 parent cc2cc3e commit 75b7033

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9898
-i "pandas.DataFrame.swaplevel SA01" \
9999
-i "pandas.DataFrame.to_markdown SA01" \
100100
-i "pandas.DataFrame.var PR01,RT03,SA01" \
101-
-i "pandas.DatetimeIndex.indexer_at_time PR01,RT03" \
102101
-i "pandas.DatetimeIndex.snap PR01,RT03" \
103102
-i "pandas.Grouper PR02" \
104103
-i "pandas.Index PR07" \

pandas/core/indexes/datetimes.py

+3
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,13 @@ def indexer_at_time(self, time, asof: bool = False) -> npt.NDArray[np.intp]:
703703
Time passed in either as object (datetime.time) or as string in
704704
appropriate format ("%H:%M", "%H%M", "%I:%M%p", "%I%M%p",
705705
"%H:%M:%S", "%H%M%S", "%I:%M:%S%p", "%I%M%S%p").
706+
asof : bool, default False
707+
This parameter is currently not supported.
706708
707709
Returns
708710
-------
709711
np.ndarray[np.intp]
712+
Index locations of values at given `time` of day.
710713
711714
See Also
712715
--------

0 commit comments

Comments
 (0)