cudf.core.series.TimedeltaProperties.nanoseconds#

property TimedeltaProperties.nanoseconds: Series[source]#

Return the number of nanoseconds (n), where 0 <= n < 1 microsecond.

Returns:
Series

Examples

>>> import cudf
>>> s = cudf.Series([12231312123, 1231231231, 1123236768712, 2135656,
...     3244334234], dtype='timedelta64[ns]')
>>> s
0    00:00:12.231312123
1    00:00:01.231231231
2    00:18:43.236768712
3    00:00:00.002135656
4    00:00:03.244334234
dtype: timedelta64[ns]
>>> s.dt.nanoseconds
0    123
1    231
2    712
3    656
4    234
dtype: int64