pandas.tseries.offsets.BaseOffset.is_year_end
pandas 3.1.1 · Date offsets and frequencies · method
Check whether a timestamp falls on the year-end boundary according to this offset.
Call syntax
BaseOffset.is_year_end(ts)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
ts |
Required Positional or keyword |
Timestamp |