modin.pandas.DatetimeIndex.time

property DatetimeIndex.time: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L684-L700)

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
Language: English