Skip to content

Commit a8032a0

Browse files
DOC: fix SA01,ES01 for pandas.Timedelta.total_seconds
1 parent 9702090 commit a8032a0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/_libs/tslibs/nattype.pyx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,14 @@ class NaTType(_NaT):
493493
"""
494494
Total seconds in the duration.
495495
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+
496504
Examples
497505
--------
498506
>>> td = pd.Timedelta('1min')

0 commit comments

Comments
 (0)