Date offsets

DateOffset

DateOffset

Standard kind of date increment used for a date range.

Methods

DateOffset.apply(self, other)

DateOffset.apply_index(self, other)

DateOffset.copy()

DateOffset.isAnchored()

DateOffset.onOffset()

DateOffset.is_anchored()

DateOffset.is_on_offset()

DateOffset.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

BusinessDay

BusinessDay

DateOffset subclass representing possibly n business days.

Alias:

BDay

alias of pandas._libs.tslibs.offsets.BusinessDay

Methods

BusinessDay.apply(self, other)

BusinessDay.apply_index(self, other)

BusinessDay.copy()

BusinessDay.isAnchored()

BusinessDay.onOffset()

BusinessDay.is_anchored()

BusinessDay.is_on_offset()

BusinessDay.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

BusinessMonthEnd

BusinessMonthEnd

DateOffset increments between the last business day of the month

Alias:

BMonthEnd

alias of pandas._libs.tslibs.offsets.BusinessMonthEnd

Week

Week

Weekly offset.

Methods

Week.apply(self, other)

Week.apply_index(self, other)

Week.copy()

Week.isAnchored()

Week.onOffset()

Week.is_anchored()

Week.is_on_offset()

Week.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

BYearEnd

BYearEnd

DateOffset increments between the last business day of the year.

Methods

BYearEnd.apply(self, other)

BYearEnd.apply_index(self, other)

BYearEnd.copy()

BYearEnd.isAnchored()

BYearEnd.onOffset()

BYearEnd.is_anchored()

BYearEnd.is_on_offset()

BYearEnd.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

BYearBegin

BYearBegin

DateOffset increments between the first business day of the year.

Methods

BYearBegin.apply(self, other)

BYearBegin.apply_index(self, other)

BYearBegin.copy()

BYearBegin.isAnchored()

BYearBegin.onOffset()

BYearBegin.is_anchored()

BYearBegin.is_on_offset()

BYearBegin.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

YearEnd

YearEnd

DateOffset increments between calendar year ends.

Methods

YearEnd.apply(self, other)

YearEnd.apply_index(self, other)

YearEnd.copy()

YearEnd.isAnchored()

YearEnd.onOffset()

YearEnd.is_anchored()

YearEnd.is_on_offset()

YearEnd.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

YearBegin

YearBegin

DateOffset increments between calendar year begin dates.

Methods

YearBegin.apply(self, other)

YearBegin.apply_index(self, other)

YearBegin.copy()

YearBegin.isAnchored()

YearBegin.onOffset()

YearBegin.is_anchored()

YearBegin.is_on_offset()

YearBegin.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Easter

Easter

DateOffset for the Easter holiday using logic defined in dateutil.

Methods

Easter.apply(self, other)

Easter.apply_index(self, other)

Easter.copy()

Easter.isAnchored()

Easter.onOffset()

Easter.is_anchored()

Easter.is_on_offset()

Easter.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Tick

Tick

Attributes

Methods

Tick.copy()

Tick.isAnchored()

Tick.onOffset()

Tick.is_anchored()

Tick.is_on_offset()

Tick.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Tick.apply()

Tick.apply_index(self, other)

Day

Day

Attributes

Methods

Day.copy()

Day.isAnchored()

Day.onOffset()

Day.is_anchored()

Day.is_on_offset()

Day.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Day.apply()

Day.apply_index(self, other)

Hour

Hour

Attributes

Methods

Hour.copy()

Hour.isAnchored()

Hour.onOffset()

Hour.is_anchored()

Hour.is_on_offset()

Hour.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Hour.apply()

Hour.apply_index(self, other)

Nano

Nano

Attributes

Methods

Nano.copy()

Nano.isAnchored()

Nano.onOffset()

Nano.is_anchored()

Nano.is_on_offset()

Nano.__call__(self, /, \*args, \*\*kwargs)

Call self as a function.

Nano.apply()

Nano.apply_index(self, other)

Frequencies

to_offset()

Return DateOffset object from string or tuple representation or datetime.timedelta object.