From 834f2ece57d30a7fba912492c96fa00256942ef2 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Mon, 29 Apr 2024 22:23:05 +0530 Subject: [PATCH 1/2] DOC: add PR01,RT03 for pandas.DatetimeIndex.indexer_at_time --- pandas/core/indexes/datetimes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index 951455b627fbd..742f66aa80728 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -703,10 +703,13 @@ def indexer_at_time(self, time, asof: bool = False) -> npt.NDArray[np.intp]: Time passed in either as object (datetime.time) or as string in appropriate format ("%H:%M", "%H%M", "%I:%M%p", "%I%M%p", "%H:%M:%S", "%H%M%S", "%I:%M:%S%p", "%I%M%S%p"). + asof : bool, default False + This parameter is currently not supported. Returns ------- np.ndarray[np.intp] + Index locations of values at given `time` of day. See Also -------- From edf9f759997cc99027e608bd5e54049bc31a76e2 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Mon, 29 Apr 2024 22:23:50 +0530 Subject: [PATCH 2/2] DOC: remove pandas.DatetimeIndex.indexer_at_time --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 2b418d6655b0b..6d3284aad23fa 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -98,7 +98,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.swaplevel SA01" \ -i "pandas.DataFrame.to_markdown SA01" \ -i "pandas.DataFrame.var PR01,RT03,SA01" \ - -i "pandas.DatetimeIndex.indexer_at_time PR01,RT03" \ -i "pandas.DatetimeIndex.snap PR01,RT03" \ -i "pandas.DatetimeIndex.to_period RT03" \ -i "pandas.Grouper PR02" \