Pandas Timedelta对象
2017-07-21 11:03
260 查看
属性 | 描述 |
---|---|
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详解七之DatetimeIndex、PeriodIndex和TimedeltaIndex时间序列
- python datetime.timedelta对象
- Python's datetime module, numpy's datetime64/timedelta64 and pandas' Timestamp/Timedelta objects
- 对同一个time_T对象,gmtime()与localtime()产生相等的指针
- 《C++第七周实验报告1-1》---含有静态数据成员和成员函数的Time类:类中所有的对象共有的数据
- Pandas学习笔记二(Pandas对象的基本方法)
- pandas的object对象转时间对象的方法
- Python datetime 模块之timedelta
- Unity3d - 为何需要Time.deltaTime
- Pandas详解六之Timestamp、Period、Timedelta时间对象
- 5.1.5 time对象
- Time.deltaTime和Time.realtimeSinceStartup
- pandas做数据分析(一):基本数据对象
- 对Time.deltaTime的理解
- 【跟着stackoverflow学Pandas】--Converting a Pandas GroupBy object to DataFrame-Groupby对象转换为DataFrame
- pandas的object对象转时间对象
- Python datetime 模块之timedelta
- pandas的索引对象
- 5.1.5 time对象
- time,datetime中字符串,时间对象,和时间戳的转换学习整理