属性 | 描述 |
---|---|
TimedeltaIndex | Immutable ndarray of timedelta64 data, represented internally as int64, and |
TimedeltaIndex.days | 天数 |
TimedeltaIndex.seconds | Number of seconds (>= 0 and less than 1 day) for each element. |
TimedeltaIndex.microseconds | Number of microseconds (>= 0 and less than 1 second) for each element. |
TimedeltaIndex.nanoseconds | Number of nanoseconds (>= 0 and less than 1 microsecond) for each element. |
TimedeltaIndex.components | Return a dataframe of the components (days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds) of the Timedeltas. |
TimedeltaIndex.inferred_freq | |
TimedeltaIndex.to_pytimedelta() | Return TimedeltaIndex as object ndarray of datetime.timedelta objects |
TimedeltaIndex.to_series(**kwargs) | Create a Series with both index and values equal to the index keys |
TimedeltaIndex.round(freq, *args, **kwargs) | round the index to the specified freq |
TimedeltaIndex.floor(freq) | floor the index to the specified freq |
TimedeltaIndex.ceil(freq) | ceil the index to the specified freq |
Pandas Timedelta对象
最新推荐文章于 2025-02-11 20:11:54 发布