pandas.tseries.offsets.YearBegin.apply_index

YearBegin.apply_index()

Vectorized apply of DateOffset to DatetimeIndex, raises NotImplementedError for offsets without a vectorized implementation.

Deprecated since version 1.1.0: Use offset + dtindex instead.

Parameters
indexDatetimeIndex
Returns
DatetimeIndex
Raises
NotImplementedError

When the specific offset subclass does not have a vectorized implementation.