modin.pandas.DatetimeIndex.time

property DatetimeIndex.time: Index[source]

Returns the time part of the Timestamps.

Return type:

An Index with the time part of the Timestamps.

Examples

>>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00",
...                         "2/1/2020 11:00:00+00:00"])
>>> idx.time
Index([10:00:00, 11:00:00], dtype='object')
Copy