Skip to content

Commit 4648cd8

Browse files
tuhinsharma121snitish
authored andcommitted
DOC: fix SA01 for pandas.errors.OutOfBoundsTimedelta (pandas-dev#60402)
1 parent 37a893d commit 4648cd8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
115115
-i "pandas.errors.NullFrequencyError SA01" \
116116
-i "pandas.errors.NumExprClobberingError SA01" \
117117
-i "pandas.errors.NumbaUtilError SA01" \
118-
-i "pandas.errors.OutOfBoundsTimedelta SA01" \
119118
-i "pandas.errors.PerformanceWarning SA01" \
120119
-i "pandas.errors.UndefinedVariableError PR01,SA01" \
121120
-i "pandas.errors.ValueLabelTypeMismatch SA01" \

pandas/_libs/tslibs/np_datetime.pyx

+4
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ class OutOfBoundsTimedelta(ValueError):
201201
202202
Representation should be within a timedelta64[ns].
203203
204+
See Also
205+
--------
206+
date_range : Return a fixed frequency DatetimeIndex.
207+
204208
Examples
205209
--------
206210
>>> pd.date_range(start="1/1/1700", freq="B", periods=100000)

0 commit comments

Comments
 (0)