Date offsets#
DateOffset#
Standard kind of date increment used for a date range.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
DateOffset.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BusinessDay#
DateOffset subclass representing possibly n business days.
Alias:
alias of BusinessDay
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
BusinessDay.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
BusinessDay.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BusinessDay.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BusinessHour#
DateOffset subclass representing possibly n business hours.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
BusinessHour.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
BusinessHour.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BusinessHour.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
BusinessHour.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
CustomBusinessDay#
DateOffset subclass representing possibly n custom business days.
Alias:
alias of CustomBusinessDay
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
CustomBusinessDay.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
CustomBusinessDay.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
CustomBusinessDay.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
CustomBusinessDay.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
CustomBusinessDay.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
CustomBusinessDay.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
CustomBusinessDay.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
CustomBusinessDay.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
CustomBusinessHour#
DateOffset subclass representing possibly n custom business days.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
CustomBusinessHour.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
CustomBusinessHour.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
CustomBusinessHour.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
CustomBusinessHour.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
CustomBusinessHour.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
CustomBusinessHour.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
CustomBusinessHour.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
CustomBusinessHour.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
MonthEnd#
DateOffset of one month end.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
MonthBegin#
DateOffset of one month at beginning.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
MonthBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BusinessMonthEnd#
DateOffset increments between the last business day of the month.
Alias:
alias of BusinessMonthEnd
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
BusinessMonthEnd.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
BusinessMonthEnd.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
BusinessMonthEnd.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
BusinessMonthEnd.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
BusinessMonthEnd.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BusinessMonthEnd.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
BusinessMonthEnd.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
BusinessMonthEnd.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
BusinessMonthBegin#
DateOffset of one month at the first business day.
Alias:
alias of BusinessMonthBegin
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
BusinessMonthBegin.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
BusinessMonthBegin.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
BusinessMonthBegin.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
BusinessMonthBegin.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
BusinessMonthBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BusinessMonthBegin.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
BusinessMonthBegin.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
BusinessMonthBegin.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
CustomBusinessMonthEnd#
DateOffset subclass representing custom business month(s).
Alias:
alias of CustomBusinessMonthEnd
Properties#
CustomBusinessMonthEnd.freqstr
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
CustomBusinessMonthEnd.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
CustomBusinessMonthEnd.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
CustomBusinessMonthEnd.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
CustomBusinessMonthEnd.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
CustomBusinessMonthEnd.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
CustomBusinessMonthEnd.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
CustomBusinessMonthEnd.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
CustomBusinessMonthEnd.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
CustomBusinessMonthBegin#
DateOffset subclass representing custom business month(s).
Alias:
alias of CustomBusinessMonthBegin
Properties#
CustomBusinessMonthBegin.freqstr
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
CustomBusinessMonthBegin.copy
()
Return a copy of the frequency.
CustomBusinessMonthBegin.is_anchored
()
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
CustomBusinessMonthBegin.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
CustomBusinessMonthBegin.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
CustomBusinessMonthBegin.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
CustomBusinessMonthBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
CustomBusinessMonthBegin.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
CustomBusinessMonthBegin.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
CustomBusinessMonthBegin.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
SemiMonthEnd#
Two DateOffset's per month repeating on the last day of the month & day_of_month.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
SemiMonthEnd.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
SemiMonthEnd.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
SemiMonthEnd.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
SemiMonthEnd.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
SemiMonthBegin#
Two DateOffset's per month repeating on the first day of the month & day_of_month.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
SemiMonthBegin.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
SemiMonthBegin.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
SemiMonthBegin.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
SemiMonthBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
SemiMonthBegin.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
SemiMonthBegin.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
SemiMonthBegin.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
Week#
Weekly offset.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Week.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
WeekOfMonth#
Describes monthly dates like "the Tuesday of the 2nd week of each month".
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
WeekOfMonth.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
WeekOfMonth.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
WeekOfMonth.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
LastWeekOfMonth#
Describes monthly dates in last week of month.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
LastWeekOfMonth.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
LastWeekOfMonth.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
LastWeekOfMonth.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
LastWeekOfMonth.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
LastWeekOfMonth.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
LastWeekOfMonth.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
LastWeekOfMonth.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
BQuarterEnd#
DateOffset increments between the last business day of each Quarter.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
BQuarterEnd.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
BQuarterEnd.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BQuarterEnd.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BQuarterBegin#
DateOffset increments between the first business day of each Quarter.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
BQuarterBegin.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
BQuarterBegin.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
BQuarterBegin.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
BQuarterBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
BQuarterBegin.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
BQuarterBegin.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
QuarterEnd#
DateOffset increments between Quarter end dates.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
QuarterEnd.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
QuarterBegin#
DateOffset increments between Quarter start dates.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
QuarterBegin.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
QuarterBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
QuarterBegin.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
QuarterBegin.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BYearEnd#
DateOffset increments between the last business day of the year.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
BYearBegin#
DateOffset increments between the first business day of the year.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
BYearBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
YearEnd#
DateOffset increments between calendar year end dates.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
YearBegin#
DateOffset increments between calendar year begin dates.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
YearBegin.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
FY5253#
Describes 52-53 week fiscal year.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
FY5253Quarter#
DateOffset increments between business quarter dates for 52-53 week fiscal year.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
Return boolean whether the frequency is a unit frequency (n=1).
FY5253Quarter.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
FY5253Quarter.is_month_start
(ts)
Return boolean whether a timestamp occurs on the month start.
FY5253Quarter.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
FY5253Quarter.is_quarter_start
(ts)
Return boolean whether a timestamp occurs on the quarter start.
FY5253Quarter.is_quarter_end
(ts)
Return boolean whether a timestamp occurs on the quarter end.
FY5253Quarter.is_year_start
(ts)
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Easter#
DateOffset for the Easter holiday using logic defined in dateutil.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return boolean whether the frequency is a unit frequency (n=1).
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Tick#
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Tick.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
Day#
Offset n
days.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Day.copy
()
Return a copy of the frequency.
(DEPRECATED) Return False.
Day.is_on_offset
(dt)
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Day.is_month_end
(ts)
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Day.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
Hour#
Offset n
hours.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Hour.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
Minute#
Offset n
minutes.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Second#
Offset n
seconds.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Milli#
Offset n
milliseconds.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Micro#
Offset n
microseconds.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Return boolean whether a timestamp occurs on the year end.
Nano#
Offset n
nanoseconds.
Properties#
Return a string representing the frequency.
Return a dict of extra parameters for the offset.
Return a string representing the base frequency.
Return an integer of the total number of nanoseconds.
Methods#
Return a copy of the frequency.
(DEPRECATED) Return False.
Return boolean whether a timestamp intersects with this frequency.
Return boolean whether a timestamp occurs on the month start.
Return boolean whether a timestamp occurs on the month end.
Return boolean whether a timestamp occurs on the quarter start.
Return boolean whether a timestamp occurs on the quarter end.
Return boolean whether a timestamp occurs on the year start.
Nano.is_year_end
(ts)
Return boolean whether a timestamp occurs on the year end.
Frequencies#
to_offset
(freq[, is_period])
Return DateOffset object from string or datetime.timedelta object.