cudf.core.series.TimedeltaProperties.seconds#

property TimedeltaProperties.seconds: Series[source]#

Number of seconds (>= 0 and less than 1 day).

Returns:
Series

Examples

>>> import cudf
>>> s = cudf.Series([12231312123, 1231231231, 1123236768712, 2135656,
...     3244334234], dtype='timedelta64[ms]')
>>> s
0      141 days 13:35:12.123
1       14 days 06:00:31.231
2    13000 days 10:12:48.712
3        0 days 00:35:35.656
4       37 days 13:12:14.234
dtype: timedelta64[ms]
>>> s.dt.seconds
0    48912
1    21631
2    36768
3     2135
4    47534
dtype: int64
>>> s.dt.microseconds
0    123000
1    231000
2    712000
3    656000
4    234000
dtype: int64