Skip to content

Commit a50aa44

Browse files
committed
Fix SA01 for Timedelta.view
1 parent cd3fbd6 commit a50aa44

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
114114
-i "pandas.Timedelta.min PR02" \
115115
-i "pandas.Timedelta.resolution PR02" \
116116
-i "pandas.Timedelta.to_numpy PR01" \
117-
-i "pandas.Timedelta.view SA01" \
118117
-i "pandas.TimedeltaIndex.components SA01" \
119118
-i "pandas.TimedeltaIndex.microseconds SA01" \
120119
-i "pandas.TimedeltaIndex.nanoseconds SA01" \

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,10 @@ cdef class _Timedelta(timedelta):
14691469
dtype : str or dtype
14701470
The dtype to view the underlying data as.
14711471
1472+
See Also
1473+
--------
1474+
Timedelta.asm8 : Return a numpy timedelta64 array scalar view.
1475+
14721476
Examples
14731477
--------
14741478
>>> td = pd.Timedelta('3D')

0 commit comments

Comments
 (0)