pandas.tseries.offsets.BaseOffset.is_year_start

pandas 3.1.1 · Date offsets and frequencies · method

Check whether a timestamp falls on the year-start boundary according to this offset.

Call syntax

BaseOffset.is_year_start(ts)

Run the example

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

Parameters

ParameterRequirementAccepted values and behavior
ts Required
Positional or keyword
Timestamp