pandas.tseries.holiday.next_monday_or_tuesday
pandas 3.1.1 · Date offsets and frequencies · function
Observe Saturday on Monday and Sunday or Monday on Tuesday.
Call syntax
holiday.next_monday_or_tuesday(dt)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
dt |
Required Positional or keyword |
datetime Provide the date or datetime for the boundary or offset calculation. |
Returns
datetime