cudf.DatetimeIndex.microsecond#
- property DatetimeIndex.microsecond#
The microseconds of the datetime.
Examples
>>> import pandas as pd >>> import cudf >>> datetime_index = cudf.Index(pd.date_range("2000-01-01", ... periods=3, freq="us")) >>> datetime_index DatetimeIndex([ '2000-01-01 00:00:00', '2000-01-01 00:00:00.000001', '2000-01-01 00:00:00.000002'], dtype='datetime64[ns]') >>> datetime_index.microsecond Int32Index([0, 1, 2], dtype='int32')