doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
pandas.tseries.offsets.Day.rollforward Day.rollforward()
Roll provided date forward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.day.rollforward |
pandas.tseries.offsets.Day.rule_code Day.rule_code | pandas.reference.api.pandas.tseries.offsets.day.rule_code |
pandas.tseries.offsets.Easter classpandas.tseries.offsets.Easter
DateOffset for the Easter holiday using logic defined in dateutil. Right now uses the revised method which is valid in years 1583-4099. Attributes
base Returns a copy of the calling offset object with n=1 and all other attributes equal.
freqstr
kwds
n
name
nanos
normalize
rule_code Methods
__call__(*args, **kwargs) Call self as a function.
rollback Roll provided date backward to next offset only if not on offset.
rollforward Roll provided date forward to next offset only if not on offset.
apply
apply_index
copy
isAnchored
is_anchored
is_month_end
is_month_start
is_on_offset
is_quarter_end
is_quarter_start
is_year_end
is_year_start
onOffset | pandas.reference.api.pandas.tseries.offsets.easter |
pandas.tseries.offsets.Easter.__call__ Easter.__call__(*args, **kwargs)
Call self as a function. | pandas.reference.api.pandas.tseries.offsets.easter.__call__ |
pandas.tseries.offsets.Easter.apply Easter.apply() | pandas.reference.api.pandas.tseries.offsets.easter.apply |
pandas.tseries.offsets.Easter.apply_index Easter.apply_index(other) | pandas.reference.api.pandas.tseries.offsets.easter.apply_index |
pandas.tseries.offsets.Easter.base Easter.base
Returns a copy of the calling offset object with n=1 and all other attributes equal. | pandas.reference.api.pandas.tseries.offsets.easter.base |
pandas.tseries.offsets.Easter.copy Easter.copy() | pandas.reference.api.pandas.tseries.offsets.easter.copy |
pandas.tseries.offsets.Easter.freqstr Easter.freqstr | pandas.reference.api.pandas.tseries.offsets.easter.freqstr |
pandas.tseries.offsets.Easter.is_anchored Easter.is_anchored() | pandas.reference.api.pandas.tseries.offsets.easter.is_anchored |
pandas.tseries.offsets.Easter.is_month_end Easter.is_month_end() | pandas.reference.api.pandas.tseries.offsets.easter.is_month_end |
pandas.tseries.offsets.Easter.is_month_start Easter.is_month_start() | pandas.reference.api.pandas.tseries.offsets.easter.is_month_start |
pandas.tseries.offsets.Easter.is_on_offset Easter.is_on_offset() | pandas.reference.api.pandas.tseries.offsets.easter.is_on_offset |
pandas.tseries.offsets.Easter.is_quarter_end Easter.is_quarter_end() | pandas.reference.api.pandas.tseries.offsets.easter.is_quarter_end |
pandas.tseries.offsets.Easter.is_quarter_start Easter.is_quarter_start() | pandas.reference.api.pandas.tseries.offsets.easter.is_quarter_start |
pandas.tseries.offsets.Easter.is_year_end Easter.is_year_end() | pandas.reference.api.pandas.tseries.offsets.easter.is_year_end |
pandas.tseries.offsets.Easter.is_year_start Easter.is_year_start() | pandas.reference.api.pandas.tseries.offsets.easter.is_year_start |
pandas.tseries.offsets.Easter.isAnchored Easter.isAnchored() | pandas.reference.api.pandas.tseries.offsets.easter.isanchored |
pandas.tseries.offsets.Easter.kwds Easter.kwds | pandas.reference.api.pandas.tseries.offsets.easter.kwds |
pandas.tseries.offsets.Easter.n Easter.n | pandas.reference.api.pandas.tseries.offsets.easter.n |
pandas.tseries.offsets.Easter.name Easter.name | pandas.reference.api.pandas.tseries.offsets.easter.name |
pandas.tseries.offsets.Easter.nanos Easter.nanos | pandas.reference.api.pandas.tseries.offsets.easter.nanos |
pandas.tseries.offsets.Easter.normalize Easter.normalize | pandas.reference.api.pandas.tseries.offsets.easter.normalize |
pandas.tseries.offsets.Easter.onOffset Easter.onOffset() | pandas.reference.api.pandas.tseries.offsets.easter.onoffset |
pandas.tseries.offsets.Easter.rollback Easter.rollback()
Roll provided date backward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.easter.rollback |
pandas.tseries.offsets.Easter.rollforward Easter.rollforward()
Roll provided date forward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.easter.rollforward |
pandas.tseries.offsets.Easter.rule_code Easter.rule_code | pandas.reference.api.pandas.tseries.offsets.easter.rule_code |
pandas.tseries.offsets.FY5253 classpandas.tseries.offsets.FY5253
Describes 52-53 week fiscal year. This is also known as a 4-4-5 calendar. It is used by companies that desire that their fiscal year always end on the same day of the week. It is a method of managing accounting periods. It is a common calendar structure for some industries, such as retail, manufacturing and parking industry. For more information see: https://en.wikipedia.org/wiki/4-4-5_calendar The year may either: end on the last X day of the Y month. end on the last X day closest to the last day of the Y month. X is a specific day of the week. Y is a certain month of the year Parameters
n:int
weekday:int {0, 1, …, 6}, default 0
A specific integer for the day of the week. 0 is Monday 1 is Tuesday 2 is Wednesday 3 is Thursday 4 is Friday 5 is Saturday 6 is Sunday.
startingMonth:int {1, 2, … 12}, default 1
The month in which the fiscal year ends.
variation:str, default “nearest”
Method of employing 4-4-5 calendar. There are two options: “nearest” means year end is weekday closest to last day of month in year. “last” means year end is final weekday of the final month in fiscal year. Attributes
base Returns a copy of the calling offset object with n=1 and all other attributes equal.
freqstr
kwds
n
name
nanos
normalize
rule_code
startingMonth
variation
weekday Methods
__call__(*args, **kwargs) Call self as a function.
rollback Roll provided date backward to next offset only if not on offset.
rollforward Roll provided date forward to next offset only if not on offset.
apply
apply_index
copy
get_rule_code_suffix
get_year_end
isAnchored
is_anchored
is_month_end
is_month_start
is_on_offset
is_quarter_end
is_quarter_start
is_year_end
is_year_start
onOffset | pandas.reference.api.pandas.tseries.offsets.fy5253 |
pandas.tseries.offsets.FY5253.__call__ FY5253.__call__(*args, **kwargs)
Call self as a function. | pandas.reference.api.pandas.tseries.offsets.fy5253.__call__ |
pandas.tseries.offsets.FY5253.apply FY5253.apply() | pandas.reference.api.pandas.tseries.offsets.fy5253.apply |
pandas.tseries.offsets.FY5253.apply_index FY5253.apply_index(other) | pandas.reference.api.pandas.tseries.offsets.fy5253.apply_index |
pandas.tseries.offsets.FY5253.base FY5253.base
Returns a copy of the calling offset object with n=1 and all other attributes equal. | pandas.reference.api.pandas.tseries.offsets.fy5253.base |
pandas.tseries.offsets.FY5253.copy FY5253.copy() | pandas.reference.api.pandas.tseries.offsets.fy5253.copy |
pandas.tseries.offsets.FY5253.freqstr FY5253.freqstr | pandas.reference.api.pandas.tseries.offsets.fy5253.freqstr |
pandas.tseries.offsets.FY5253.get_rule_code_suffix FY5253.get_rule_code_suffix() | pandas.reference.api.pandas.tseries.offsets.fy5253.get_rule_code_suffix |
pandas.tseries.offsets.FY5253.get_year_end FY5253.get_year_end() | pandas.reference.api.pandas.tseries.offsets.fy5253.get_year_end |
pandas.tseries.offsets.FY5253.is_anchored FY5253.is_anchored() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_anchored |
pandas.tseries.offsets.FY5253.is_month_end FY5253.is_month_end() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_month_end |
pandas.tseries.offsets.FY5253.is_month_start FY5253.is_month_start() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_month_start |
pandas.tseries.offsets.FY5253.is_on_offset FY5253.is_on_offset() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_on_offset |
pandas.tseries.offsets.FY5253.is_quarter_end FY5253.is_quarter_end() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_quarter_end |
pandas.tseries.offsets.FY5253.is_quarter_start FY5253.is_quarter_start() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_quarter_start |
pandas.tseries.offsets.FY5253.is_year_end FY5253.is_year_end() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_year_end |
pandas.tseries.offsets.FY5253.is_year_start FY5253.is_year_start() | pandas.reference.api.pandas.tseries.offsets.fy5253.is_year_start |
pandas.tseries.offsets.FY5253.isAnchored FY5253.isAnchored() | pandas.reference.api.pandas.tseries.offsets.fy5253.isanchored |
pandas.tseries.offsets.FY5253.kwds FY5253.kwds | pandas.reference.api.pandas.tseries.offsets.fy5253.kwds |
pandas.tseries.offsets.FY5253.n FY5253.n | pandas.reference.api.pandas.tseries.offsets.fy5253.n |
pandas.tseries.offsets.FY5253.name FY5253.name | pandas.reference.api.pandas.tseries.offsets.fy5253.name |
pandas.tseries.offsets.FY5253.nanos FY5253.nanos | pandas.reference.api.pandas.tseries.offsets.fy5253.nanos |
pandas.tseries.offsets.FY5253.normalize FY5253.normalize | pandas.reference.api.pandas.tseries.offsets.fy5253.normalize |
pandas.tseries.offsets.FY5253.onOffset FY5253.onOffset() | pandas.reference.api.pandas.tseries.offsets.fy5253.onoffset |
pandas.tseries.offsets.FY5253.rollback FY5253.rollback()
Roll provided date backward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.fy5253.rollback |
pandas.tseries.offsets.FY5253.rollforward FY5253.rollforward()
Roll provided date forward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.fy5253.rollforward |
pandas.tseries.offsets.FY5253.rule_code FY5253.rule_code | pandas.reference.api.pandas.tseries.offsets.fy5253.rule_code |
pandas.tseries.offsets.FY5253.startingMonth FY5253.startingMonth | pandas.reference.api.pandas.tseries.offsets.fy5253.startingmonth |
pandas.tseries.offsets.FY5253.variation FY5253.variation | pandas.reference.api.pandas.tseries.offsets.fy5253.variation |
pandas.tseries.offsets.FY5253.weekday FY5253.weekday | pandas.reference.api.pandas.tseries.offsets.fy5253.weekday |
pandas.tseries.offsets.FY5253Quarter classpandas.tseries.offsets.FY5253Quarter
DateOffset increments between business quarter dates for 52-53 week fiscal year (also known as a 4-4-5 calendar). It is used by companies that desire that their fiscal year always end on the same day of the week. It is a method of managing accounting periods. It is a common calendar structure for some industries, such as retail, manufacturing and parking industry. For more information see: https://en.wikipedia.org/wiki/4-4-5_calendar The year may either: end on the last X day of the Y month. end on the last X day closest to the last day of the Y month. X is a specific day of the week. Y is a certain month of the year startingMonth = 1 corresponds to dates like 1/31/2007, 4/30/2007, … startingMonth = 2 corresponds to dates like 2/28/2007, 5/31/2007, … startingMonth = 3 corresponds to dates like 3/30/2007, 6/29/2007, … Parameters
n:int
weekday:int {0, 1, …, 6}, default 0
A specific integer for the day of the week. 0 is Monday 1 is Tuesday 2 is Wednesday 3 is Thursday 4 is Friday 5 is Saturday 6 is Sunday.
startingMonth:int {1, 2, …, 12}, default 1
The month in which fiscal years end.
qtr_with_extra_week:int {1, 2, 3, 4}, default 1
The quarter number that has the leap or 14 week when needed.
variation:str, default “nearest”
Method of employing 4-4-5 calendar. There are two options: “nearest” means year end is weekday closest to last day of month in year. “last” means year end is final weekday of the final month in fiscal year. Attributes
base Returns a copy of the calling offset object with n=1 and all other attributes equal.
freqstr
kwds
n
name
nanos
normalize
qtr_with_extra_week
rule_code
startingMonth
variation
weekday Methods
__call__(*args, **kwargs) Call self as a function.
rollback Roll provided date backward to next offset only if not on offset.
rollforward Roll provided date forward to next offset only if not on offset.
apply
apply_index
copy
get_rule_code_suffix
get_weeks
isAnchored
is_anchored
is_month_end
is_month_start
is_on_offset
is_quarter_end
is_quarter_start
is_year_end
is_year_start
onOffset
year_has_extra_week | pandas.reference.api.pandas.tseries.offsets.fy5253quarter |
pandas.tseries.offsets.FY5253Quarter.__call__ FY5253Quarter.__call__(*args, **kwargs)
Call self as a function. | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.__call__ |
pandas.tseries.offsets.FY5253Quarter.apply FY5253Quarter.apply() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.apply |
pandas.tseries.offsets.FY5253Quarter.apply_index FY5253Quarter.apply_index(other) | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.apply_index |
pandas.tseries.offsets.FY5253Quarter.base FY5253Quarter.base
Returns a copy of the calling offset object with n=1 and all other attributes equal. | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.base |
pandas.tseries.offsets.FY5253Quarter.copy FY5253Quarter.copy() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.copy |
pandas.tseries.offsets.FY5253Quarter.freqstr FY5253Quarter.freqstr | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.freqstr |
pandas.tseries.offsets.FY5253Quarter.get_rule_code_suffix FY5253Quarter.get_rule_code_suffix() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.get_rule_code_suffix |
pandas.tseries.offsets.FY5253Quarter.get_weeks FY5253Quarter.get_weeks() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.get_weeks |
pandas.tseries.offsets.FY5253Quarter.is_anchored FY5253Quarter.is_anchored() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_anchored |
pandas.tseries.offsets.FY5253Quarter.is_month_end FY5253Quarter.is_month_end() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_month_end |
pandas.tseries.offsets.FY5253Quarter.is_month_start FY5253Quarter.is_month_start() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_month_start |
pandas.tseries.offsets.FY5253Quarter.is_on_offset FY5253Quarter.is_on_offset() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_on_offset |
pandas.tseries.offsets.FY5253Quarter.is_quarter_end FY5253Quarter.is_quarter_end() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_quarter_end |
pandas.tseries.offsets.FY5253Quarter.is_quarter_start FY5253Quarter.is_quarter_start() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_quarter_start |
pandas.tseries.offsets.FY5253Quarter.is_year_end FY5253Quarter.is_year_end() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_year_end |
pandas.tseries.offsets.FY5253Quarter.is_year_start FY5253Quarter.is_year_start() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.is_year_start |
pandas.tseries.offsets.FY5253Quarter.isAnchored FY5253Quarter.isAnchored() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.isanchored |
pandas.tseries.offsets.FY5253Quarter.kwds FY5253Quarter.kwds | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.kwds |
pandas.tseries.offsets.FY5253Quarter.n FY5253Quarter.n | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.n |
pandas.tseries.offsets.FY5253Quarter.name FY5253Quarter.name | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.name |
pandas.tseries.offsets.FY5253Quarter.nanos FY5253Quarter.nanos | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.nanos |
pandas.tseries.offsets.FY5253Quarter.normalize FY5253Quarter.normalize | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.normalize |
pandas.tseries.offsets.FY5253Quarter.onOffset FY5253Quarter.onOffset() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.onoffset |
pandas.tseries.offsets.FY5253Quarter.qtr_with_extra_week FY5253Quarter.qtr_with_extra_week | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.qtr_with_extra_week |
pandas.tseries.offsets.FY5253Quarter.rollback FY5253Quarter.rollback()
Roll provided date backward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.rollback |
pandas.tseries.offsets.FY5253Quarter.rollforward FY5253Quarter.rollforward()
Roll provided date forward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.rollforward |
pandas.tseries.offsets.FY5253Quarter.rule_code FY5253Quarter.rule_code | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.rule_code |
pandas.tseries.offsets.FY5253Quarter.startingMonth FY5253Quarter.startingMonth | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.startingmonth |
pandas.tseries.offsets.FY5253Quarter.variation FY5253Quarter.variation | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.variation |
pandas.tseries.offsets.FY5253Quarter.weekday FY5253Quarter.weekday | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.weekday |
pandas.tseries.offsets.FY5253Quarter.year_has_extra_week FY5253Quarter.year_has_extra_week() | pandas.reference.api.pandas.tseries.offsets.fy5253quarter.year_has_extra_week |
pandas.tseries.offsets.Hour classpandas.tseries.offsets.Hour
Attributes
base Returns a copy of the calling offset object with n=1 and all other attributes equal.
delta
freqstr
kwds
n
name
nanos
normalize
rule_code Methods
__call__(*args, **kwargs) Call self as a function.
rollback Roll provided date backward to next offset only if not on offset.
rollforward Roll provided date forward to next offset only if not on offset.
apply
apply_index
copy
isAnchored
is_anchored
is_month_end
is_month_start
is_on_offset
is_quarter_end
is_quarter_start
is_year_end
is_year_start
onOffset | pandas.reference.api.pandas.tseries.offsets.hour |
pandas.tseries.offsets.Hour.__call__ Hour.__call__(*args, **kwargs)
Call self as a function. | pandas.reference.api.pandas.tseries.offsets.hour.__call__ |
pandas.tseries.offsets.Hour.apply Hour.apply() | pandas.reference.api.pandas.tseries.offsets.hour.apply |
pandas.tseries.offsets.Hour.apply_index Hour.apply_index(other) | pandas.reference.api.pandas.tseries.offsets.hour.apply_index |
pandas.tseries.offsets.Hour.base Hour.base
Returns a copy of the calling offset object with n=1 and all other attributes equal. | pandas.reference.api.pandas.tseries.offsets.hour.base |
pandas.tseries.offsets.Hour.copy Hour.copy() | pandas.reference.api.pandas.tseries.offsets.hour.copy |
pandas.tseries.offsets.Hour.delta Hour.delta | pandas.reference.api.pandas.tseries.offsets.hour.delta |
pandas.tseries.offsets.Hour.freqstr Hour.freqstr | pandas.reference.api.pandas.tseries.offsets.hour.freqstr |
pandas.tseries.offsets.Hour.is_anchored Hour.is_anchored() | pandas.reference.api.pandas.tseries.offsets.hour.is_anchored |
pandas.tseries.offsets.Hour.is_month_end Hour.is_month_end() | pandas.reference.api.pandas.tseries.offsets.hour.is_month_end |
pandas.tseries.offsets.Hour.is_month_start Hour.is_month_start() | pandas.reference.api.pandas.tseries.offsets.hour.is_month_start |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.