W3cubDocs

/pandas 0.25

pandas.tseries.offsets.CBMonthEnd.rollback

CBMonthEnd.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.CBMonthEnd.rollback.html