pandas.tseries.holiday.get_calendar

pandas 3.1.1 · Date offsets and frequencies · function

Get an instance of a registered calendar by name.

Call syntax

holiday.get_calendar(name)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
name Required
Positional or keyword
str

Set a name or identify the named object used by the operation.

Returns

AbstractHolidayCalendar