Pandas version checks
- [X] I have checked that the issue still exists on the latest versions of the docs on
main
here
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.Timedelta.seconds.html#pandas-timedelta-seconds
Documentation problem
Documentation is blank.
Suggested fix for documentation
Write documentation for the property.
Looking at the source it seems like the definition is
@property
def seconds(self) -> int: ...
Which unfortunately I do not understand. I just learned that Python has an ellipsis object. All I know is that the thing I really wanted was total_seconds(). I got a nonsense answer using seconds and wanted to figure out what happend.
Comment From: jbrockmendel
Same as datetime.timedelta.seconds, would accept a PR to add docstring