pandas.tseries.holiday.HolidayCalendarFactory
pandas 3.1.1 · Date offsets and frequencies · function
Create a holiday calendar class by combining sets of rules.
Call syntax
holiday.HolidayCalendarFactory(
name,
base,
other,
base_class=<class 'pandas.tseries.holiday.AbstractHolidayCalendar'>,
)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
name |
Required Positional or keyword |
str Set a name or identify the named object used by the operation. |
base |
Required Positional or keyword |
AbstractHolidayCalendar |
other |
Required Positional or keyword |
AbstractHolidayCalendar Supply the second object or value used in the operation. |
base_class |
Optional Positional or keyword Default <class 'pandas.tseries.holiday.AbstractHolidayCalendar'> |
type |
Returns
type