doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
pandas.tseries.offsets.CustomBusinessMonthBegin.is_on_offset CustomBusinessMonthBegin.is_on_offset()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.is_on_offset
pandas.tseries.offsets.CustomBusinessMonthBegin.is_quarter_end CustomBusinessMonthBegin.is_quarter_end()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.is_quarter_end
pandas.tseries.offsets.CustomBusinessMonthBegin.is_quarter_start CustomBusinessMonthBegin.is_quarter_start()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.is_quarter_start
pandas.tseries.offsets.CustomBusinessMonthBegin.is_year_end CustomBusinessMonthBegin.is_year_end()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.is_year_end
pandas.tseries.offsets.CustomBusinessMonthBegin.is_year_start CustomBusinessMonthBegin.is_year_start()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.is_year_start
pandas.tseries.offsets.CustomBusinessMonthBegin.isAnchored CustomBusinessMonthBegin.isAnchored()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.isanchored
pandas.tseries.offsets.CustomBusinessMonthBegin.kwds CustomBusinessMonthBegin.kwds
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.kwds
pandas.tseries.offsets.CustomBusinessMonthBegin.m_offset CustomBusinessMonthBegin.m_offset
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.m_offset
pandas.tseries.offsets.CustomBusinessMonthBegin.month_roll CustomBusinessMonthBegin.month_roll Define default roll function to be called in apply method.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.month_roll
pandas.tseries.offsets.CustomBusinessMonthBegin.n CustomBusinessMonthBegin.n
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.n
pandas.tseries.offsets.CustomBusinessMonthBegin.name CustomBusinessMonthBegin.name
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.name
pandas.tseries.offsets.CustomBusinessMonthBegin.nanos CustomBusinessMonthBegin.nanos
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.nanos
pandas.tseries.offsets.CustomBusinessMonthBegin.normalize CustomBusinessMonthBegin.normalize
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.normalize
pandas.tseries.offsets.CustomBusinessMonthBegin.offset CustomBusinessMonthBegin.offset Alias for self._offset.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.offset
pandas.tseries.offsets.CustomBusinessMonthBegin.onOffset CustomBusinessMonthBegin.onOffset()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.onoffset
pandas.tseries.offsets.CustomBusinessMonthBegin.rollback CustomBusinessMonthBegin.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.custombusinessmonthbegin.rollback
pandas.tseries.offsets.CustomBusinessMonthBegin.rollforward CustomBusinessMonthBegin.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.custombusinessmonthbegin.rollforward
pandas.tseries.offsets.CustomBusinessMonthBegin.rule_code CustomBusinessMonthBegin.rule_code
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.rule_code
pandas.tseries.offsets.CustomBusinessMonthBegin.weekmask CustomBusinessMonthBegin.weekmask
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthbegin.weekmask
pandas.tseries.offsets.CustomBusinessMonthEnd classpandas.tseries.offsets.CustomBusinessMonthEnd Attributes base Returns a copy of the calling offset object with n=1 and all other attributes equal. cbday_roll Define default roll function to be called in apply method. month_roll Define default roll function to be called in apply method. offset Alias for self._offset. calendar freqstr holidays kwds m_offset n name nanos normalize rule_code weekmask 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.custombusinessmonthend
pandas.tseries.offsets.CustomBusinessMonthEnd.__call__ CustomBusinessMonthEnd.__call__(*args, **kwargs) Call self as a function.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.__call__
pandas.tseries.offsets.CustomBusinessMonthEnd.apply CustomBusinessMonthEnd.apply()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.apply
pandas.tseries.offsets.CustomBusinessMonthEnd.apply_index CustomBusinessMonthEnd.apply_index(other)
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.apply_index
pandas.tseries.offsets.CustomBusinessMonthEnd.base CustomBusinessMonthEnd.base Returns a copy of the calling offset object with n=1 and all other attributes equal.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.base
pandas.tseries.offsets.CustomBusinessMonthEnd.calendar CustomBusinessMonthEnd.calendar
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.calendar
pandas.tseries.offsets.CustomBusinessMonthEnd.cbday_roll CustomBusinessMonthEnd.cbday_roll Define default roll function to be called in apply method.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.cbday_roll
pandas.tseries.offsets.CustomBusinessMonthEnd.copy CustomBusinessMonthEnd.copy()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.copy
pandas.tseries.offsets.CustomBusinessMonthEnd.freqstr CustomBusinessMonthEnd.freqstr
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.freqstr
pandas.tseries.offsets.CustomBusinessMonthEnd.holidays CustomBusinessMonthEnd.holidays
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.holidays
pandas.tseries.offsets.CustomBusinessMonthEnd.is_anchored CustomBusinessMonthEnd.is_anchored()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_anchored
pandas.tseries.offsets.CustomBusinessMonthEnd.is_month_end CustomBusinessMonthEnd.is_month_end()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_month_end
pandas.tseries.offsets.CustomBusinessMonthEnd.is_month_start CustomBusinessMonthEnd.is_month_start()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_month_start
pandas.tseries.offsets.CustomBusinessMonthEnd.is_on_offset CustomBusinessMonthEnd.is_on_offset()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_on_offset
pandas.tseries.offsets.CustomBusinessMonthEnd.is_quarter_end CustomBusinessMonthEnd.is_quarter_end()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_quarter_end
pandas.tseries.offsets.CustomBusinessMonthEnd.is_quarter_start CustomBusinessMonthEnd.is_quarter_start()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_quarter_start
pandas.tseries.offsets.CustomBusinessMonthEnd.is_year_end CustomBusinessMonthEnd.is_year_end()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_year_end
pandas.tseries.offsets.CustomBusinessMonthEnd.is_year_start CustomBusinessMonthEnd.is_year_start()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.is_year_start
pandas.tseries.offsets.CustomBusinessMonthEnd.isAnchored CustomBusinessMonthEnd.isAnchored()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.isanchored
pandas.tseries.offsets.CustomBusinessMonthEnd.kwds CustomBusinessMonthEnd.kwds
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.kwds
pandas.tseries.offsets.CustomBusinessMonthEnd.m_offset CustomBusinessMonthEnd.m_offset
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.m_offset
pandas.tseries.offsets.CustomBusinessMonthEnd.month_roll CustomBusinessMonthEnd.month_roll Define default roll function to be called in apply method.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.month_roll
pandas.tseries.offsets.CustomBusinessMonthEnd.n CustomBusinessMonthEnd.n
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.n
pandas.tseries.offsets.CustomBusinessMonthEnd.name CustomBusinessMonthEnd.name
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.name
pandas.tseries.offsets.CustomBusinessMonthEnd.nanos CustomBusinessMonthEnd.nanos
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.nanos
pandas.tseries.offsets.CustomBusinessMonthEnd.normalize CustomBusinessMonthEnd.normalize
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.normalize
pandas.tseries.offsets.CustomBusinessMonthEnd.offset CustomBusinessMonthEnd.offset Alias for self._offset.
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.offset
pandas.tseries.offsets.CustomBusinessMonthEnd.onOffset CustomBusinessMonthEnd.onOffset()
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.onoffset
pandas.tseries.offsets.CustomBusinessMonthEnd.rollback CustomBusinessMonthEnd.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.custombusinessmonthend.rollback
pandas.tseries.offsets.CustomBusinessMonthEnd.rollforward CustomBusinessMonthEnd.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.custombusinessmonthend.rollforward
pandas.tseries.offsets.CustomBusinessMonthEnd.rule_code CustomBusinessMonthEnd.rule_code
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.rule_code
pandas.tseries.offsets.CustomBusinessMonthEnd.weekmask CustomBusinessMonthEnd.weekmask
pandas.reference.api.pandas.tseries.offsets.custombusinessmonthend.weekmask
pandas.tseries.offsets.DateOffset classpandas.tseries.offsets.DateOffset Standard kind of date increment used for a date range. Works exactly like the keyword argument form of relativedelta. Note that the positional argument form of relativedelata is not supported. Use of the keyword n is discouraged– you would be better off specifying n in the keywords you use, but regardless it is there for you. n is needed for DateOffset subclasses. DateOffset works as follows. Each offset specify a set of dates that conform to the DateOffset. For example, Bday defines this set to be the set of dates that are weekdays (M-F). To test if a date is in the set of a DateOffset dateOffset we can use the is_on_offset method: dateOffset.is_on_offset(date). If a date is not on a valid date, the rollback and rollforward methods can be used to roll the date to the nearest valid date before/after the date. DateOffsets can be created to move dates forward a given number of valid dates. For example, Bday(2) can be added to a date to move it two business days forward. If the date does not start on a valid date, first it is moved to a valid date. Thus pseudo code is: def __add__(date): date = rollback(date) # does nothing if date is valid return date + <n number of periods> When a date offset is created for a negative number of periods, the date is first rolled forward. The pseudo code is: def __add__(date): date = rollforward(date) # does nothing is date is valid return date + <n number of periods> Zero presents a problem. Should it roll forward or back? We arbitrarily have it rollforward: date + BDay(0) == BDay.rollforward(date) Since 0 is a bit weird, we suggest avoiding its use. Parameters n:int, default 1 The number of time periods the offset represents. normalize:bool, default False Whether to round the result of a DateOffset addition down to the previous midnight. **kwds Temporal parameter that add to or replace the offset value. Parameters that add to the offset (like Timedelta): years months weeks days hours minutes seconds microseconds nanoseconds Parameters that replace the offset value: year month day weekday hour minute second microsecond nanosecond. See also dateutil.relativedelta.relativedelta The relativedelta type is designed to be applied to an existing datetime an can replace specific components of that datetime, or represents an interval of time. Examples >>> from pandas.tseries.offsets import DateOffset >>> ts = pd.Timestamp('2017-01-01 09:10:11') >>> ts + DateOffset(months=3) Timestamp('2017-04-01 09:10:11') >>> ts = pd.Timestamp('2017-01-01 09:10:11') >>> ts + DateOffset(months=2) Timestamp('2017-03-01 09:10:11') 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.dateoffset
pandas.tseries.offsets.DateOffset.__call__ DateOffset.__call__(*args, **kwargs) Call self as a function.
pandas.reference.api.pandas.tseries.offsets.dateoffset.__call__
pandas.tseries.offsets.DateOffset.apply DateOffset.apply()
pandas.reference.api.pandas.tseries.offsets.dateoffset.apply
pandas.tseries.offsets.DateOffset.apply_index DateOffset.apply_index(other)
pandas.reference.api.pandas.tseries.offsets.dateoffset.apply_index
pandas.tseries.offsets.DateOffset.base DateOffset.base Returns a copy of the calling offset object with n=1 and all other attributes equal.
pandas.reference.api.pandas.tseries.offsets.dateoffset.base
pandas.tseries.offsets.DateOffset.copy DateOffset.copy()
pandas.reference.api.pandas.tseries.offsets.dateoffset.copy
pandas.tseries.offsets.DateOffset.freqstr DateOffset.freqstr
pandas.reference.api.pandas.tseries.offsets.dateoffset.freqstr
pandas.tseries.offsets.DateOffset.is_anchored DateOffset.is_anchored()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_anchored
pandas.tseries.offsets.DateOffset.is_month_end DateOffset.is_month_end()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_month_end
pandas.tseries.offsets.DateOffset.is_month_start DateOffset.is_month_start()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_month_start
pandas.tseries.offsets.DateOffset.is_on_offset DateOffset.is_on_offset()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_on_offset
pandas.tseries.offsets.DateOffset.is_quarter_end DateOffset.is_quarter_end()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_quarter_end
pandas.tseries.offsets.DateOffset.is_quarter_start DateOffset.is_quarter_start()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_quarter_start
pandas.tseries.offsets.DateOffset.is_year_end DateOffset.is_year_end()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_year_end
pandas.tseries.offsets.DateOffset.is_year_start DateOffset.is_year_start()
pandas.reference.api.pandas.tseries.offsets.dateoffset.is_year_start
pandas.tseries.offsets.DateOffset.isAnchored DateOffset.isAnchored()
pandas.reference.api.pandas.tseries.offsets.dateoffset.isanchored
pandas.tseries.offsets.DateOffset.kwds DateOffset.kwds
pandas.reference.api.pandas.tseries.offsets.dateoffset.kwds
pandas.tseries.offsets.DateOffset.n DateOffset.n
pandas.reference.api.pandas.tseries.offsets.dateoffset.n
pandas.tseries.offsets.DateOffset.name DateOffset.name
pandas.reference.api.pandas.tseries.offsets.dateoffset.name
pandas.tseries.offsets.DateOffset.nanos DateOffset.nanos
pandas.reference.api.pandas.tseries.offsets.dateoffset.nanos
pandas.tseries.offsets.DateOffset.normalize DateOffset.normalize
pandas.reference.api.pandas.tseries.offsets.dateoffset.normalize
pandas.tseries.offsets.DateOffset.onOffset DateOffset.onOffset()
pandas.reference.api.pandas.tseries.offsets.dateoffset.onoffset
pandas.tseries.offsets.DateOffset.rollback DateOffset.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.dateoffset.rollback
pandas.tseries.offsets.DateOffset.rollforward DateOffset.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.dateoffset.rollforward
pandas.tseries.offsets.DateOffset.rule_code DateOffset.rule_code
pandas.reference.api.pandas.tseries.offsets.dateoffset.rule_code
pandas.tseries.offsets.Day classpandas.tseries.offsets.Day 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.day
pandas.tseries.offsets.Day.__call__ Day.__call__(*args, **kwargs) Call self as a function.
pandas.reference.api.pandas.tseries.offsets.day.__call__
pandas.tseries.offsets.Day.apply Day.apply()
pandas.reference.api.pandas.tseries.offsets.day.apply
pandas.tseries.offsets.Day.apply_index Day.apply_index(other)
pandas.reference.api.pandas.tseries.offsets.day.apply_index
pandas.tseries.offsets.Day.base Day.base Returns a copy of the calling offset object with n=1 and all other attributes equal.
pandas.reference.api.pandas.tseries.offsets.day.base
pandas.tseries.offsets.Day.copy Day.copy()
pandas.reference.api.pandas.tseries.offsets.day.copy
pandas.tseries.offsets.Day.delta Day.delta
pandas.reference.api.pandas.tseries.offsets.day.delta
pandas.tseries.offsets.Day.freqstr Day.freqstr
pandas.reference.api.pandas.tseries.offsets.day.freqstr
pandas.tseries.offsets.Day.is_anchored Day.is_anchored()
pandas.reference.api.pandas.tseries.offsets.day.is_anchored
pandas.tseries.offsets.Day.is_month_end Day.is_month_end()
pandas.reference.api.pandas.tseries.offsets.day.is_month_end
pandas.tseries.offsets.Day.is_month_start Day.is_month_start()
pandas.reference.api.pandas.tseries.offsets.day.is_month_start
pandas.tseries.offsets.Day.is_on_offset Day.is_on_offset()
pandas.reference.api.pandas.tseries.offsets.day.is_on_offset
pandas.tseries.offsets.Day.is_quarter_end Day.is_quarter_end()
pandas.reference.api.pandas.tseries.offsets.day.is_quarter_end
pandas.tseries.offsets.Day.is_quarter_start Day.is_quarter_start()
pandas.reference.api.pandas.tseries.offsets.day.is_quarter_start
pandas.tseries.offsets.Day.is_year_end Day.is_year_end()
pandas.reference.api.pandas.tseries.offsets.day.is_year_end
pandas.tseries.offsets.Day.is_year_start Day.is_year_start()
pandas.reference.api.pandas.tseries.offsets.day.is_year_start
pandas.tseries.offsets.Day.isAnchored Day.isAnchored()
pandas.reference.api.pandas.tseries.offsets.day.isanchored
pandas.tseries.offsets.Day.kwds Day.kwds
pandas.reference.api.pandas.tseries.offsets.day.kwds
pandas.tseries.offsets.Day.n Day.n
pandas.reference.api.pandas.tseries.offsets.day.n
pandas.tseries.offsets.Day.name Day.name
pandas.reference.api.pandas.tseries.offsets.day.name
pandas.tseries.offsets.Day.nanos Day.nanos
pandas.reference.api.pandas.tseries.offsets.day.nanos
pandas.tseries.offsets.Day.normalize Day.normalize
pandas.reference.api.pandas.tseries.offsets.day.normalize
pandas.tseries.offsets.Day.onOffset Day.onOffset()
pandas.reference.api.pandas.tseries.offsets.day.onoffset
pandas.tseries.offsets.Day.rollback Day.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.day.rollback