pandas / 0.25.0 / reference / api / pandas.tseries.offsets.bmonthend.rollback.html /

pandas.tseries.offsets.BMonthEnd.rollback

BMonthEnd.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.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.tseries.offsets.BMonthEnd.rollback.html