【Python百日进阶-数据分析】Day106 - Pandas V1.4.0 用户手册(六)日期偏移
文章目录
- 七、Date offsets 日期偏移
-
- 7.1 Date offsets 日期偏移
- 7.2 BusinessDay 工作日
- 7.3 BusinessHour 营业时间
- 7.4 CustomBusinessDay 自定义工作日
- 7.5 CustomBusinessHour 自定义营业时间
- 7.6 MonthEnd 月底
- 7.7 MonthBegin 月初
- 7.8 BusinessMonthEnd 商业月末
- 7.9 BusinessMonthBegin 商业月初
- 7.10 CustomBusinessMonthEnd 自定义月末
- 7.11 CustomBusinessMonthBegin 自定义月初
- 7.12 SemiMonthEnd 半月末
- 7.13 SemiMonthBegin 半月初
- 7.14 Week 周
- 7.15 WeekOfMonth 月中周
- 7.16 LastWeekOfMonth 月中最后一周
- 7.17 BQuarterEnd 工作季末
- 7.18 BQuarterBegin 工作季初
- 7.19 QuarterEnd 季度结束
- 7.20 QuarterBegin 季度开始
- 7.21 BYearEnd 工作年底
- 7.22 BYearBegin 工作年初
- 7.23 YearEnd 年末
- 7.24 YearBegin 年初
- 7.25 FY5253 描述52-53周的财政年度
- 7.26 FY5253Quarter FY5253季度
- 7.27 Easter 复活节
- 7.28 Tick 勾选
- 7.29 Day 日期
- 7.30 Hour 小时
- 7.31 Minute 分钟
- 7.32 Second 秒
- 7.33 Milli 毫秒
- 7.34 Micro 微秒
- 7.35 Nano 纳秒
- 7.36 频率
官网链接:https://pandas.pydata.org/pandas-docs/stable/reference/offset_frequency.html
七、Date offsets 日期偏移
7.1 Date offsets 日期偏移
函数 | 功能说明 |
---|---|
DateOffset | 用于日期范围的标准日期增量。 |
7.1.1 Properties 属性
函数 | 功能说明 |
---|---|
DateOffset.freqstr | |
DateOffset.kwds | |
DateOffset.name | |
DateOffset.nanos | |
DateOffset.normalize | |
DateOffset.rule_code | |
DateOffset.n | |
DateOffset.is_month_start | <