pandas.tseries.offsets.SemiMonthEnd

class pandas.tseries.offsets.SemiMonthEnd(n=1, normalize=False, day_of_month=None) [source]

Two DateOffset’s per month repeating on the last day of the month and day_of_month.

New in version 0.19.0.

Parameters:
n : int
normalize : bool, default False
day_of_month : int, {1, 3,…,27}, default 15

Attributes

base Returns a copy of the calling offset object with n=1 and all other attributes equal.
freqstr
kwds
name
nanos
rule_code

Methods

rollback(dt) Roll provided date backward to next offset only if not on offset.
rollforward(dt) Roll provided date forward to next offset only if not on offset.
__call__
apply
apply_index
copy
isAnchored
onOffset

© 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.24.2/reference/api/pandas.tseries.offsets.SemiMonthEnd.html