Skip to content

Commit 71d067f

Browse files
DOC: fix SA01 for pandas.timedelta_range (#58879)
1 parent a608dfa commit 71d067f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
494494
-i "pandas.testing.assert_extension_array_equal SA01" \
495495
-i "pandas.testing.assert_index_equal PR07,SA01" \
496496
-i "pandas.testing.assert_series_equal PR07,SA01" \
497-
-i "pandas.timedelta_range SA01" \
498497
-i "pandas.tseries.offsets.BDay PR02,SA01" \
499498
-i "pandas.tseries.offsets.BQuarterBegin PR02" \
500499
-i "pandas.tseries.offsets.BQuarterBegin.freqstr SA01" \

pandas/core/indexes/timedeltas.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ def timedelta_range(
273273
TimedeltaIndex
274274
Fixed frequency, with day as the default.
275275
276+
See Also
277+
--------
278+
date_range : Return a fixed frequency DatetimeIndex.
279+
period_range : Return a fixed frequency PeriodIndex.
280+
276281
Notes
277282
-----
278283
Of the four parameters ``start``, ``end``, ``periods``, and ``freq``,

0 commit comments

Comments
 (0)