Date offsets#

DateOffset#

DateOffset

Standard kind of date increment used for a date range.

Properties#

DateOffset.freqstr

Return a string representing the frequency.

DateOffset.kwds

Return a dict of extra parameters for the offset.

DateOffset.name

Return a string representing the base frequency.

DateOffset.nanos

DateOffset.normalize

DateOffset.rule_code

DateOffset.n

DateOffset.is_month_start

Return boolean whether a timestamp occurs on the month start.

DateOffset.is_month_end

Return boolean whether a timestamp occurs on the month end.

Methods#

DateOffset.copy

Return a copy of the frequency.

DateOffset.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

DateOffset.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

DateOffset.is_month_start

Return boolean whether a timestamp occurs on the month start.

DateOffset.is_month_end

Return boolean whether a timestamp occurs on the month end.

DateOffset.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

DateOffset.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

DateOffset.is_year_start

Return boolean whether a timestamp occurs on the year start.

DateOffset.is_year_end

Return boolean whether a timestamp occurs on the year end.

BusinessDay#

BusinessDay

DateOffset subclass representing possibly n business days.

Alias:

BDay

alias of pandas._libs.tslibs.offsets.BusinessDay

Properties#

BusinessDay.freqstr

Return a string representing the frequency.

BusinessDay.kwds

Return a dict of extra parameters for the offset.

BusinessDay.name

Return a string representing the base frequency.

BusinessDay.nanos

BusinessDay.normalize

BusinessDay.rule_code

BusinessDay.n

BusinessDay.weekmask

BusinessDay.holidays

BusinessDay.calendar

Methods#

BusinessDay.copy

Return a copy of the frequency.

BusinessDay.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BusinessDay.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BusinessDay.is_month_start

Return boolean whether a timestamp occurs on the month start.

BusinessDay.is_month_end

Return boolean whether a timestamp occurs on the month end.

BusinessDay.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BusinessDay.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BusinessDay.is_year_start

Return boolean whether a timestamp occurs on the year start.

BusinessDay.is_year_end

Return boolean whether a timestamp occurs on the year end.

BusinessHour#

BusinessHour

DateOffset subclass representing possibly n business hours.

Properties#

BusinessHour.freqstr

Return a string representing the frequency.

BusinessHour.kwds

Return a dict of extra parameters for the offset.

BusinessHour.name

Return a string representing the base frequency.

BusinessHour.nanos

BusinessHour.normalize

BusinessHour.rule_code

BusinessHour.n

BusinessHour.start

BusinessHour.end

BusinessHour.weekmask

BusinessHour.holidays

BusinessHour.calendar

Methods#

BusinessHour.copy

Return a copy of the frequency.

BusinessHour.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BusinessHour.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BusinessHour.is_month_start

Return boolean whether a timestamp occurs on the month start.

BusinessHour.is_month_end

Return boolean whether a timestamp occurs on the month end.

BusinessHour.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BusinessHour.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BusinessHour.is_year_start

Return boolean whether a timestamp occurs on the year start.

BusinessHour.is_year_end

Return boolean whether a timestamp occurs on the year end.

CustomBusinessDay#

CustomBusinessDay

DateOffset subclass representing custom business days excluding holidays.

Alias:

CDay

alias of pandas._libs.tslibs.offsets.CustomBusinessDay

Properties#

CustomBusinessDay.freqstr

Return a string representing the frequency.

CustomBusinessDay.kwds

Return a dict of extra parameters for the offset.

CustomBusinessDay.name

Return a string representing the base frequency.

CustomBusinessDay.nanos

CustomBusinessDay.normalize

CustomBusinessDay.rule_code

CustomBusinessDay.n

CustomBusinessDay.weekmask

CustomBusinessDay.calendar

CustomBusinessDay.holidays

Methods#

CustomBusinessDay.copy

Return a copy of the frequency.

CustomBusinessDay.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

CustomBusinessDay.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

CustomBusinessDay.is_month_start

Return boolean whether a timestamp occurs on the month start.

CustomBusinessDay.is_month_end

Return boolean whether a timestamp occurs on the month end.

CustomBusinessDay.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

CustomBusinessDay.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

CustomBusinessDay.is_year_start

Return boolean whether a timestamp occurs on the year start.

CustomBusinessDay.is_year_end

Return boolean whether a timestamp occurs on the year end.

CustomBusinessHour#

CustomBusinessHour

DateOffset subclass representing possibly n custom business days.

Properties#

CustomBusinessHour.freqstr

Return a string representing the frequency.

CustomBusinessHour.kwds

Return a dict of extra parameters for the offset.

CustomBusinessHour.name

Return a string representing the base frequency.

CustomBusinessHour.nanos

CustomBusinessHour.normalize

CustomBusinessHour.rule_code

CustomBusinessHour.n

CustomBusinessHour.weekmask

CustomBusinessHour.calendar

CustomBusinessHour.holidays

CustomBusinessHour.start

CustomBusinessHour.end

Methods#

CustomBusinessHour.copy

Return a copy of the frequency.

CustomBusinessHour.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

CustomBusinessHour.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

CustomBusinessHour.is_month_start

Return boolean whether a timestamp occurs on the month start.

CustomBusinessHour.is_month_end

Return boolean whether a timestamp occurs on the month end.

CustomBusinessHour.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

CustomBusinessHour.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

CustomBusinessHour.is_year_start

Return boolean whether a timestamp occurs on the year start.

CustomBusinessHour.is_year_end

Return boolean whether a timestamp occurs on the year end.

MonthEnd#

MonthEnd

DateOffset of one month end.

Properties#

MonthEnd.freqstr

Return a string representing the frequency.

MonthEnd.kwds

Return a dict of extra parameters for the offset.

MonthEnd.name

Return a string representing the base frequency.

MonthEnd.nanos

MonthEnd.normalize

MonthEnd.rule_code

MonthEnd.n

Methods#

MonthEnd.copy

Return a copy of the frequency.

MonthEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

MonthEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

MonthEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

MonthEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

MonthEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

MonthEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

MonthEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

MonthEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

MonthBegin#

MonthBegin

DateOffset of one month at beginning.

Properties#

MonthBegin.freqstr

Return a string representing the frequency.

MonthBegin.kwds

Return a dict of extra parameters for the offset.

MonthBegin.name

Return a string representing the base frequency.

MonthBegin.nanos

MonthBegin.normalize

MonthBegin.rule_code

MonthBegin.n

Methods#

MonthBegin.copy

Return a copy of the frequency.

MonthBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

MonthBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

MonthBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

MonthBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

MonthBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

MonthBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

MonthBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

MonthBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

BusinessMonthEnd#

BusinessMonthEnd

DateOffset increments between the last business day of the month.

Alias:

BMonthEnd

alias of pandas._libs.tslibs.offsets.BusinessMonthEnd

Properties#

BusinessMonthEnd.freqstr

Return a string representing the frequency.

BusinessMonthEnd.kwds

Return a dict of extra parameters for the offset.

BusinessMonthEnd.name

Return a string representing the base frequency.

BusinessMonthEnd.nanos

BusinessMonthEnd.normalize

BusinessMonthEnd.rule_code

BusinessMonthEnd.n

Methods#

BusinessMonthEnd.copy

Return a copy of the frequency.

BusinessMonthEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BusinessMonthEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BusinessMonthEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

BusinessMonthEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

BusinessMonthEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BusinessMonthEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BusinessMonthEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

BusinessMonthEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

BusinessMonthBegin#

BusinessMonthBegin

DateOffset of one month at the first business day.

Alias:

BMonthBegin

alias of pandas._libs.tslibs.offsets.BusinessMonthBegin

Properties#

BusinessMonthBegin.freqstr

Return a string representing the frequency.

BusinessMonthBegin.kwds

Return a dict of extra parameters for the offset.

BusinessMonthBegin.name

Return a string representing the base frequency.

BusinessMonthBegin.nanos

BusinessMonthBegin.normalize

BusinessMonthBegin.rule_code

BusinessMonthBegin.n

Methods#

BusinessMonthBegin.copy

Return a copy of the frequency.

BusinessMonthBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BusinessMonthBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BusinessMonthBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

BusinessMonthBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

BusinessMonthBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BusinessMonthBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BusinessMonthBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

BusinessMonthBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

CustomBusinessMonthEnd#

CustomBusinessMonthEnd

Attributes

Alias:

CBMonthEnd

alias of pandas._libs.tslibs.offsets.CustomBusinessMonthEnd

Properties#

CustomBusinessMonthEnd.freqstr

Return a string representing the frequency.

CustomBusinessMonthEnd.kwds

Return a dict of extra parameters for the offset.

CustomBusinessMonthEnd.m_offset

CustomBusinessMonthEnd.name

Return a string representing the base frequency.

CustomBusinessMonthEnd.nanos

CustomBusinessMonthEnd.normalize

CustomBusinessMonthEnd.rule_code

CustomBusinessMonthEnd.n

CustomBusinessMonthEnd.weekmask

CustomBusinessMonthEnd.calendar

CustomBusinessMonthEnd.holidays

Methods#

CustomBusinessMonthEnd.copy

Return a copy of the frequency.

CustomBusinessMonthEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

CustomBusinessMonthEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

CustomBusinessMonthEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

CustomBusinessMonthEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

CustomBusinessMonthEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

CustomBusinessMonthEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

CustomBusinessMonthEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

CustomBusinessMonthEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

CustomBusinessMonthBegin#

CustomBusinessMonthBegin

Attributes

Alias:

CBMonthBegin

alias of pandas._libs.tslibs.offsets.CustomBusinessMonthBegin

Properties#

CustomBusinessMonthBegin.freqstr

Return a string representing the frequency.

CustomBusinessMonthBegin.kwds

Return a dict of extra parameters for the offset.

CustomBusinessMonthBegin.m_offset

CustomBusinessMonthBegin.name

Return a string representing the base frequency.

CustomBusinessMonthBegin.nanos

CustomBusinessMonthBegin.normalize

CustomBusinessMonthBegin.rule_code

CustomBusinessMonthBegin.n

CustomBusinessMonthBegin.weekmask

CustomBusinessMonthBegin.calendar

CustomBusinessMonthBegin.holidays

Methods#

CustomBusinessMonthBegin.copy

Return a copy of the frequency.

CustomBusinessMonthBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

CustomBusinessMonthBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

CustomBusinessMonthBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

CustomBusinessMonthBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

CustomBusinessMonthBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

CustomBusinessMonthBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

CustomBusinessMonthBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

CustomBusinessMonthBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

SemiMonthEnd#

SemiMonthEnd

Two DateOffset's per month repeating on the last day of the month & day_of_month.

Properties#

SemiMonthEnd.freqstr

Return a string representing the frequency.

SemiMonthEnd.kwds

Return a dict of extra parameters for the offset.

SemiMonthEnd.name

Return a string representing the base frequency.

SemiMonthEnd.nanos

SemiMonthEnd.normalize

SemiMonthEnd.rule_code

SemiMonthEnd.n

SemiMonthEnd.day_of_month

Methods#

SemiMonthEnd.copy

Return a copy of the frequency.

SemiMonthEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

SemiMonthEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

SemiMonthEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

SemiMonthEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

SemiMonthEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

SemiMonthEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

SemiMonthEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

SemiMonthEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

SemiMonthBegin#

SemiMonthBegin

Two DateOffset's per month repeating on the first day of the month & day_of_month.

Properties#

SemiMonthBegin.freqstr

Return a string representing the frequency.

SemiMonthBegin.kwds

Return a dict of extra parameters for the offset.

SemiMonthBegin.name

Return a string representing the base frequency.

SemiMonthBegin.nanos

SemiMonthBegin.normalize

SemiMonthBegin.rule_code

SemiMonthBegin.n

SemiMonthBegin.day_of_month

Methods#

SemiMonthBegin.copy

Return a copy of the frequency.

SemiMonthBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

SemiMonthBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

SemiMonthBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

SemiMonthBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

SemiMonthBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

SemiMonthBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

SemiMonthBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

SemiMonthBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

Week#

Week

Weekly offset.

Properties#

Week.freqstr

Return a string representing the frequency.

Week.kwds

Return a dict of extra parameters for the offset.

Week.name

Return a string representing the base frequency.

Week.nanos

Week.normalize

Week.rule_code

Week.n

Week.weekday

Methods#

Week.copy

Return a copy of the frequency.

Week.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Week.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Week.is_month_start

Return boolean whether a timestamp occurs on the month start.

Week.is_month_end

Return boolean whether a timestamp occurs on the month end.

Week.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Week.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Week.is_year_start

Return boolean whether a timestamp occurs on the year start.

Week.is_year_end

Return boolean whether a timestamp occurs on the year end.

WeekOfMonth#

WeekOfMonth

Describes monthly dates like "the Tuesday of the 2nd week of each month".

Properties#

WeekOfMonth.freqstr

Return a string representing the frequency.

WeekOfMonth.kwds

Return a dict of extra parameters for the offset.

WeekOfMonth.name

Return a string representing the base frequency.

WeekOfMonth.nanos

WeekOfMonth.normalize

WeekOfMonth.rule_code

WeekOfMonth.n

WeekOfMonth.week

Methods#

WeekOfMonth.copy

Return a copy of the frequency.

WeekOfMonth.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

WeekOfMonth.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

WeekOfMonth.weekday

WeekOfMonth.is_month_start

Return boolean whether a timestamp occurs on the month start.

WeekOfMonth.is_month_end

Return boolean whether a timestamp occurs on the month end.

WeekOfMonth.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

WeekOfMonth.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

WeekOfMonth.is_year_start

Return boolean whether a timestamp occurs on the year start.

WeekOfMonth.is_year_end

Return boolean whether a timestamp occurs on the year end.

LastWeekOfMonth#

LastWeekOfMonth

Describes monthly dates in last week of month.

Properties#

LastWeekOfMonth.freqstr

Return a string representing the frequency.

LastWeekOfMonth.kwds

Return a dict of extra parameters for the offset.

LastWeekOfMonth.name

Return a string representing the base frequency.

LastWeekOfMonth.nanos

LastWeekOfMonth.normalize

LastWeekOfMonth.rule_code

LastWeekOfMonth.n

LastWeekOfMonth.weekday

LastWeekOfMonth.week

Methods#

LastWeekOfMonth.copy

Return a copy of the frequency.

LastWeekOfMonth.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

LastWeekOfMonth.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

LastWeekOfMonth.is_month_start

Return boolean whether a timestamp occurs on the month start.

LastWeekOfMonth.is_month_end

Return boolean whether a timestamp occurs on the month end.

LastWeekOfMonth.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

LastWeekOfMonth.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

LastWeekOfMonth.is_year_start

Return boolean whether a timestamp occurs on the year start.

LastWeekOfMonth.is_year_end

Return boolean whether a timestamp occurs on the year end.

BQuarterEnd#

BQuarterEnd

DateOffset increments between the last business day of each Quarter.

Properties#

BQuarterEnd.freqstr

Return a string representing the frequency.

BQuarterEnd.kwds

Return a dict of extra parameters for the offset.

BQuarterEnd.name

Return a string representing the base frequency.

BQuarterEnd.nanos

BQuarterEnd.normalize

BQuarterEnd.rule_code

BQuarterEnd.n

BQuarterEnd.startingMonth

Methods#

BQuarterEnd.copy

Return a copy of the frequency.

BQuarterEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BQuarterEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BQuarterEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

BQuarterEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

BQuarterEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BQuarterEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BQuarterEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

BQuarterEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

BQuarterBegin#

BQuarterBegin

DateOffset increments between the first business day of each Quarter.

Properties#

BQuarterBegin.freqstr

Return a string representing the frequency.

BQuarterBegin.kwds

Return a dict of extra parameters for the offset.

BQuarterBegin.name

Return a string representing the base frequency.

BQuarterBegin.nanos

BQuarterBegin.normalize

BQuarterBegin.rule_code

BQuarterBegin.n

BQuarterBegin.startingMonth

Methods#

BQuarterBegin.copy

Return a copy of the frequency.

BQuarterBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BQuarterBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BQuarterBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

BQuarterBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

BQuarterBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BQuarterBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BQuarterBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

BQuarterBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

QuarterEnd#

QuarterEnd

DateOffset increments between Quarter end dates.

Properties#

QuarterEnd.freqstr

Return a string representing the frequency.

QuarterEnd.kwds

Return a dict of extra parameters for the offset.

QuarterEnd.name

Return a string representing the base frequency.

QuarterEnd.nanos

QuarterEnd.normalize

QuarterEnd.rule_code

QuarterEnd.n

QuarterEnd.startingMonth

Methods#

QuarterEnd.copy

Return a copy of the frequency.

QuarterEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

QuarterEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

QuarterEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

QuarterEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

QuarterEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

QuarterEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

QuarterEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

QuarterEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

QuarterBegin#

QuarterBegin

DateOffset increments between Quarter start dates.

Properties#

QuarterBegin.freqstr

Return a string representing the frequency.

QuarterBegin.kwds

Return a dict of extra parameters for the offset.

QuarterBegin.name

Return a string representing the base frequency.

QuarterBegin.nanos

QuarterBegin.normalize

QuarterBegin.rule_code

QuarterBegin.n

QuarterBegin.startingMonth

Methods#

QuarterBegin.copy

Return a copy of the frequency.

QuarterBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

QuarterBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

QuarterBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

QuarterBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

QuarterBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

QuarterBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

QuarterBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

QuarterBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

BYearEnd#

BYearEnd

DateOffset increments between the last business day of the year.

Properties#

BYearEnd.freqstr

Return a string representing the frequency.

BYearEnd.kwds

Return a dict of extra parameters for the offset.

BYearEnd.name

Return a string representing the base frequency.

BYearEnd.nanos

BYearEnd.normalize

BYearEnd.rule_code

BYearEnd.n

BYearEnd.month

Methods#

BYearEnd.copy

Return a copy of the frequency.

BYearEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BYearEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BYearEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

BYearEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

BYearEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BYearEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BYearEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

BYearEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

BYearBegin#

BYearBegin

DateOffset increments between the first business day of the year.

Properties#

BYearBegin.freqstr

Return a string representing the frequency.

BYearBegin.kwds

Return a dict of extra parameters for the offset.

BYearBegin.name

Return a string representing the base frequency.

BYearBegin.nanos

BYearBegin.normalize

BYearBegin.rule_code

BYearBegin.n

BYearBegin.month

Methods#

BYearBegin.copy

Return a copy of the frequency.

BYearBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

BYearBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

BYearBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

BYearBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

BYearBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

BYearBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

BYearBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

BYearBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

YearEnd#

YearEnd

DateOffset increments between calendar year ends.

Properties#

YearEnd.freqstr

Return a string representing the frequency.

YearEnd.kwds

Return a dict of extra parameters for the offset.

YearEnd.name

Return a string representing the base frequency.

YearEnd.nanos

YearEnd.normalize

YearEnd.rule_code

YearEnd.n

YearEnd.month

Methods#

YearEnd.copy

Return a copy of the frequency.

YearEnd.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

YearEnd.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

YearEnd.is_month_start

Return boolean whether a timestamp occurs on the month start.

YearEnd.is_month_end

Return boolean whether a timestamp occurs on the month end.

YearEnd.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

YearEnd.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

YearEnd.is_year_start

Return boolean whether a timestamp occurs on the year start.

YearEnd.is_year_end

Return boolean whether a timestamp occurs on the year end.

YearBegin#

YearBegin

DateOffset of one year at beginning.

Properties#

YearBegin.freqstr

Return a string representing the frequency.

YearBegin.kwds

Return a dict of extra parameters for the offset.

YearBegin.name

Return a string representing the base frequency.

YearBegin.nanos

YearBegin.normalize

YearBegin.rule_code

YearBegin.n

YearBegin.month

Methods#

YearBegin.copy

Return a copy of the frequency.

YearBegin.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

YearBegin.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

YearBegin.is_month_start

Return boolean whether a timestamp occurs on the month start.

YearBegin.is_month_end

Return boolean whether a timestamp occurs on the month end.

YearBegin.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

YearBegin.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

YearBegin.is_year_start

Return boolean whether a timestamp occurs on the year start.

YearBegin.is_year_end

Return boolean whether a timestamp occurs on the year end.

FY5253#

FY5253

Describes 52-53 week fiscal year.

Properties#

FY5253.freqstr

Return a string representing the frequency.

FY5253.kwds

Return a dict of extra parameters for the offset.

FY5253.name

Return a string representing the base frequency.

FY5253.nanos

FY5253.normalize

FY5253.rule_code

FY5253.n

FY5253.startingMonth

FY5253.variation

FY5253.weekday

Methods#

FY5253.copy

Return a copy of the frequency.

FY5253.get_rule_code_suffix

FY5253.get_year_end

FY5253.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

FY5253.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

FY5253.is_month_start

Return boolean whether a timestamp occurs on the month start.

FY5253.is_month_end

Return boolean whether a timestamp occurs on the month end.

FY5253.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

FY5253.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

FY5253.is_year_start

Return boolean whether a timestamp occurs on the year start.

FY5253.is_year_end

Return boolean whether a timestamp occurs on the year end.

FY5253Quarter#

FY5253Quarter

DateOffset increments between business quarter dates for 52-53 week fiscal year.

Properties#

FY5253Quarter.freqstr

Return a string representing the frequency.

FY5253Quarter.kwds

Return a dict of extra parameters for the offset.

FY5253Quarter.name

Return a string representing the base frequency.

FY5253Quarter.nanos

FY5253Quarter.normalize

FY5253Quarter.rule_code

FY5253Quarter.n

FY5253Quarter.qtr_with_extra_week

FY5253Quarter.startingMonth

FY5253Quarter.variation

FY5253Quarter.weekday

Methods#

FY5253Quarter.copy

Return a copy of the frequency.

FY5253Quarter.get_rule_code_suffix

FY5253Quarter.get_weeks

FY5253Quarter.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

FY5253Quarter.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

FY5253Quarter.year_has_extra_week

FY5253Quarter.is_month_start

Return boolean whether a timestamp occurs on the month start.

FY5253Quarter.is_month_end

Return boolean whether a timestamp occurs on the month end.

FY5253Quarter.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

FY5253Quarter.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

FY5253Quarter.is_year_start

Return boolean whether a timestamp occurs on the year start.

FY5253Quarter.is_year_end

Return boolean whether a timestamp occurs on the year end.

Easter#

Easter

DateOffset for the Easter holiday using logic defined in dateutil.

Properties#

Easter.freqstr

Return a string representing the frequency.

Easter.kwds

Return a dict of extra parameters for the offset.

Easter.name

Return a string representing the base frequency.

Easter.nanos

Easter.normalize

Easter.rule_code

Easter.n

Methods#

Easter.copy

Return a copy of the frequency.

Easter.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Easter.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Easter.is_month_start

Return boolean whether a timestamp occurs on the month start.

Easter.is_month_end

Return boolean whether a timestamp occurs on the month end.

Easter.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Easter.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Easter.is_year_start

Return boolean whether a timestamp occurs on the year start.

Easter.is_year_end

Return boolean whether a timestamp occurs on the year end.

Tick#

Tick

Attributes

Properties#

Tick.delta

Tick.freqstr

Return a string representing the frequency.

Tick.kwds

Return a dict of extra parameters for the offset.

Tick.name

Return a string representing the base frequency.

Tick.nanos

Return an integer of the total number of nanoseconds.

Tick.normalize

Tick.rule_code

Tick.n

Methods#

Tick.copy

Return a copy of the frequency.

Tick.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Tick.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Tick.is_month_start

Return boolean whether a timestamp occurs on the month start.

Tick.is_month_end

Return boolean whether a timestamp occurs on the month end.

Tick.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Tick.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Tick.is_year_start

Return boolean whether a timestamp occurs on the year start.

Tick.is_year_end

Return boolean whether a timestamp occurs on the year end.

Day#

Day

Attributes

Properties#

Day.delta

Day.freqstr

Return a string representing the frequency.

Day.kwds

Return a dict of extra parameters for the offset.

Day.name

Return a string representing the base frequency.

Day.nanos

Return an integer of the total number of nanoseconds.

Day.normalize

Day.rule_code

Day.n

Methods#

Day.copy

Return a copy of the frequency.

Day.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Day.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Day.is_month_start

Return boolean whether a timestamp occurs on the month start.

Day.is_month_end

Return boolean whether a timestamp occurs on the month end.

Day.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Day.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Day.is_year_start

Return boolean whether a timestamp occurs on the year start.

Day.is_year_end

Return boolean whether a timestamp occurs on the year end.

Hour#

Hour

Attributes

Properties#

Hour.delta

Hour.freqstr

Return a string representing the frequency.

Hour.kwds

Return a dict of extra parameters for the offset.

Hour.name

Return a string representing the base frequency.

Hour.nanos

Return an integer of the total number of nanoseconds.

Hour.normalize

Hour.rule_code

Hour.n

Methods#

Hour.copy

Return a copy of the frequency.

Hour.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Hour.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Hour.is_month_start

Return boolean whether a timestamp occurs on the month start.

Hour.is_month_end

Return boolean whether a timestamp occurs on the month end.

Hour.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Hour.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Hour.is_year_start

Return boolean whether a timestamp occurs on the year start.

Hour.is_year_end

Return boolean whether a timestamp occurs on the year end.

Minute#

Minute

Attributes

Properties#

Minute.delta

Minute.freqstr

Return a string representing the frequency.

Minute.kwds

Return a dict of extra parameters for the offset.

Minute.name

Return a string representing the base frequency.

Minute.nanos

Return an integer of the total number of nanoseconds.

Minute.normalize

Minute.rule_code

Minute.n

Methods#

Minute.copy

Return a copy of the frequency.

Minute.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Minute.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Minute.is_month_start

Return boolean whether a timestamp occurs on the month start.

Minute.is_month_end

Return boolean whether a timestamp occurs on the month end.

Minute.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Minute.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Minute.is_year_start

Return boolean whether a timestamp occurs on the year start.

Minute.is_year_end

Return boolean whether a timestamp occurs on the year end.

Second#

Second

Attributes

Properties#

Second.delta

Second.freqstr

Return a string representing the frequency.

Second.kwds

Return a dict of extra parameters for the offset.

Second.name

Return a string representing the base frequency.

Second.nanos

Return an integer of the total number of nanoseconds.

Second.normalize

Second.rule_code

Second.n

Methods#

Second.copy

Return a copy of the frequency.

Second.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Second.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Second.is_month_start

Return boolean whether a timestamp occurs on the month start.

Second.is_month_end

Return boolean whether a timestamp occurs on the month end.

Second.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Second.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Second.is_year_start

Return boolean whether a timestamp occurs on the year start.

Second.is_year_end

Return boolean whether a timestamp occurs on the year end.

Milli#

Milli

Attributes

Properties#

Milli.delta

Milli.freqstr

Return a string representing the frequency.

Milli.kwds

Return a dict of extra parameters for the offset.

Milli.name

Return a string representing the base frequency.

Milli.nanos

Return an integer of the total number of nanoseconds.

Milli.normalize

Milli.rule_code

Milli.n

Methods#

Milli.copy

Return a copy of the frequency.

Milli.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Milli.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Milli.is_month_start

Return boolean whether a timestamp occurs on the month start.

Milli.is_month_end

Return boolean whether a timestamp occurs on the month end.

Milli.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Milli.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Milli.is_year_start

Return boolean whether a timestamp occurs on the year start.

Milli.is_year_end

Return boolean whether a timestamp occurs on the year end.

Micro#

Micro

Attributes

Properties#

Micro.delta

Micro.freqstr

Return a string representing the frequency.

Micro.kwds

Return a dict of extra parameters for the offset.

Micro.name

Return a string representing the base frequency.

Micro.nanos

Return an integer of the total number of nanoseconds.

Micro.normalize

Micro.rule_code

Micro.n

Methods#

Micro.copy

Return a copy of the frequency.

Micro.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Micro.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Micro.is_month_start

Return boolean whether a timestamp occurs on the month start.

Micro.is_month_end

Return boolean whether a timestamp occurs on the month end.

Micro.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Micro.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Micro.is_year_start

Return boolean whether a timestamp occurs on the year start.

Micro.is_year_end

Return boolean whether a timestamp occurs on the year end.

Nano#

Nano

Attributes

Properties#

Nano.delta

Nano.freqstr

Return a string representing the frequency.

Nano.kwds

Return a dict of extra parameters for the offset.

Nano.name

Return a string representing the base frequency.

Nano.nanos

Return an integer of the total number of nanoseconds.

Nano.normalize

Nano.rule_code

Nano.n

Methods#

Nano.copy

Return a copy of the frequency.

Nano.is_anchored

Return boolean whether the frequency is a unit frequency (n=1).

Nano.is_on_offset

Return boolean whether a timestamp intersects with this frequency.

Nano.is_month_start

Return boolean whether a timestamp occurs on the month start.

Nano.is_month_end

Return boolean whether a timestamp occurs on the month end.

Nano.is_quarter_start

Return boolean whether a timestamp occurs on the quarter start.

Nano.is_quarter_end

Return boolean whether a timestamp occurs on the quarter end.

Nano.is_year_start

Return boolean whether a timestamp occurs on the year start.

Nano.is_year_end

Return boolean whether a timestamp occurs on the year end.

Frequencies#

to_offset

Return DateOffset object from string or datetime.timedelta object.