modin.pandas.TimedeltaIndex.days¶
- property TimedeltaIndex.days: Index[source]¶
Number of days for each element.
- Return type:
An Index with the days component of the timedelta.
Examples
>>> idx = pd.to_timedelta(["0 days", "10 days", "20 days"]) >>> idx TimedeltaIndex(['0 days', '10 days', '20 days'], dtype='timedelta64[ns]', freq=None) >>> idx.days Index([0, 10, 20], dtype='int64')