modin.pandas.TimedeltaIndex.microseconds

property TimedeltaIndex.microseconds: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/timedelta_index.py#L214-L237)

Number of microseconds (>= 0 and less than 1 second) for each element.

Return type:

An Index with microseconds component of the timedelta.

Examples

>>> idx = pd.to_timedelta([1, 2, 3], unit='us')
>>> idx
TimedeltaIndex(['0 days 00:00:00.000001', '0 days 00:00:00.000002',
                '0 days 00:00:00.000003'],
               dtype='timedelta64[ns]', freq=None)
>>> idx.microseconds
Index([1, 2, 3], dtype='int64')
Copy
Language: English