File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
105
105
-i " pandas.Timedelta.min PR02" \
106
106
-i " pandas.Timedelta.resolution PR02" \
107
107
-i " pandas.Timedelta.to_timedelta64 SA01" \
108
- -i " pandas.Timedelta.total_seconds SA01" \
109
108
-i " pandas.TimedeltaIndex.to_pytimedelta RT03,SA01" \
110
109
-i " pandas.Timestamp.max PR02" \
111
110
-i " pandas.Timestamp.min PR02" \
Original file line number Diff line number Diff line change @@ -493,6 +493,14 @@ class NaTType(_NaT):
493
493
"""
494
494
Total seconds in the duration.
495
495
496
+ This method calculates the total duration in seconds by combining
497
+ the days, seconds, and microseconds of the `Timedelta` object.
498
+
499
+ See Also
500
+ --------
501
+ to_timedelta : Convert argument to timedelta.
502
+ Timedelta : Represents a duration, the difference between two dates or times.
503
+
496
504
Examples
497
505
--------
498
506
>>> td = pd.Timedelta('1min')
Original file line number Diff line number Diff line change @@ -1189,6 +1189,14 @@ cdef class _Timedelta(timedelta):
1189
1189
"""
1190
1190
Total seconds in the duration.
1191
1191
1192
+ This method calculates the total duration in seconds by combining
1193
+ the days , seconds , and microseconds of the `Timedelta` object.
1194
+
1195
+ See Also
1196
+ --------
1197
+ to_timedelta : Convert argument to timedelta.
1198
+ Timedelta : Represents a duration , the difference between two dates or times.
1199
+
1192
1200
Examples
1193
1201
--------
1194
1202
>>> td = pd.Timedelta(' 1min' )
You can’t perform that action at this time.
0 commit comments