pandas.tseries.offsets.Week — pandas 0.25.3 documentation (original) (raw)
Table Of Contents
- What's New in 0.25.2
- Installation
- Getting started
- User Guide
- Pandas ecosystem
- API reference
- Input/output
- General functions
- Series
- DataFrame
- Pandas arrays
- Panel
- Index objects
- Date offsets
* DateOffset
* BusinessDay
* BusinessHour
* CustomBusinessDay
* CustomBusinessHour
* MonthOffset
* MonthEnd
* MonthBegin
* BusinessMonthEnd
* BusinessMonthBegin
* CustomBusinessMonthEnd
* CustomBusinessMonthBegin
* SemiMonthOffset
* SemiMonthEnd
* SemiMonthBegin
* Week
* WeekOfMonth
* LastWeekOfMonth
* QuarterOffset
* BQuarterEnd
* BQuarterBegin
* QuarterEnd
* QuarterBegin
* YearOffset
* BYearEnd
* BYearBegin
* YearEnd
* YearBegin
* FY5253
* FY5253Quarter
* Easter
* Tick
* Day
* Hour
* Minute
* Second
* Milli
* Micro
* Nano
* BDay
* BMonthEnd
* BMonthBegin
* CBMonthEnd
* CBMonthBegin
* CDay - Frequencies
- Window
- GroupBy
- Resampling
- Style
- Plotting
- General utility functions
- Extensions
- Development
- Release Notes
Search
Enter search terms or a module, class or function name.
class pandas.tseries.offsets.
Week
(n=1, normalize=False, weekday=None)[source]¶
Weekly offset.
Parameters: | weekday : int, default None Always generate specific day of week. 0 for Monday |
---|
Attributes
base | Returns a copy of the calling offset object with n=1 and all other attributes equal. |
---|
| freqstr | | | -------------- | | | kwds | | | name | | | nanos | | | rule_code | |
Methods
rollback(self, dt) | Roll provided date backward to next offset only if not on offset. |
---|---|
rollforward(self, dt) | Roll provided date forward to next offset only if not on offset. |
| __call__ | | | ---------------- | | | apply | | | apply_index | | | copy | | | isAnchored | | | onOffset | |