pandas.tseries.offsets.BYearBegin.rollbackΒΆ

BYearBegin.rollback(self, dt)[source]ΒΆ

Roll provided date backward to next offset only if not on offset.

Returns
TimeStamp

Rolled timestamp if not on offset, otherwise unchanged timestamp.