pandas.tseries.holiday.AbstractHolidayCalendar.rule_from_name

pandas 3.1.1 · Date offsets and frequencies · method

Look up a calendar's holiday rule by its configured name.

Call syntax

AbstractHolidayCalendar.rule_from_name(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

Holiday or None