pandas.tseries.offsets.HalfYearBegin.kwds#

HalfYearBegin.kwds#

Return a dict of extra parameters for the offset.

These parameters exclude n and normalize, which are common to all offsets. The returned dictionary can be passed to the offset constructor to recreate the offset with the same settings.

See also

tseries.offsets.DateOffset

The base class for all pandas date offsets.

tseries.offsets.WeekOfMonth

Represents the week of the month.

tseries.offsets.LastWeekOfMonth

Represents the last week of the month.

Examples

>>> pd.DateOffset(5).kwds
{}
>>> pd.offsets.FY5253Quarter().kwds
{'weekday': 0,
 'startingMonth': 1,
 'qtr_with_extra_week': 1,
 'variation': 'nearest'}