您的位置:首页 > 其它

Pandas Timedelta对象

2017-07-21 11:03 260 查看
属性描述
TimedeltaIndexImmutable ndarray of timedelta64 data, represented internally as int64, and
TimedeltaIndex.days天数
TimedeltaIndex.secondsNumber of seconds (>= 0 and less than 1 day) for each element.
TimedeltaIndex.microsecondsNumber of microseconds (>= 0 and less than 1 second) for each element.
TimedeltaIndex.nanosecondsNumber of nanoseconds (>= 0 and less than 1 microsecond) for each element.
TimedeltaIndex.componentsReturn 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: