pandas.tseries.holiday.AbstractHolidayCalendar.holidays
pandas 3.1.1 · Date offsets and frequencies · method
List holiday occurrences within a date range using the calendar's configured rules.
Call syntax
AbstractHolidayCalendar.holidays(start=None, end=None, return_name=False)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
start |
Optional Positional or keyword Default None |
starting date, datetime-like Supply the start point of a range, slice, or calculation. |
end |
Optional Positional or keyword Default None |
ending date, datetime-like Supply the endpoint of the range or calculation. |
return_name |
Optional Positional or keyword Default False |
bool |
Returns
DatetimeIndex or Series