diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index f062db77fb79b..e3004aaf30dbf 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -2506,6 +2506,19 @@ cdef class BQuarterEnd(QuarterOffset): startingMonth = 2 corresponds to dates like 2/28/2007, 5/31/2007, ... startingMonth = 3 corresponds to dates like 3/30/2007, 6/29/2007, ... + Parameters + ---------- + n : int, default 1 + The number of quarters represented. + normalize : bool, default False + Normalize start/end dates to midnight before generating date range. + startingMonth : int, default 3 + A specific integer for the month of the year from which we start quarters. + + See Also + -------- + :class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment. + Examples -------- >>> from pandas.tseries.offsets import BQuarterEnd @@ -2534,6 +2547,19 @@ cdef class BQuarterBegin(QuarterOffset): startingMonth = 2 corresponds to dates like 2/01/2007, 5/01/2007, ... startingMonth = 3 corresponds to dates like 3/01/2007, 6/01/2007, ... + Parameters + ---------- + n : int, default 1 + The number of quarters represented. + normalize : bool, default False + Normalize start/end dates to midnight before generating date range. + startingMonth : int, default 3 + A specific integer for the month of the year from which we start quarters. + + See Also + -------- + :class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment. + Examples -------- >>> from pandas.tseries.offsets import BQuarterBegin @@ -2562,6 +2588,19 @@ cdef class QuarterEnd(QuarterOffset): startingMonth = 2 corresponds to dates like 2/28/2007, 5/31/2007, ... startingMonth = 3 corresponds to dates like 3/31/2007, 6/30/2007, ... + Parameters + ---------- + n : int, default 1 + The number of quarters represented. + normalize : bool, default False + Normalize start/end dates to midnight before generating date range. + startingMonth : int, default 3 + A specific integer for the month of the year from which we start quarters. + + See Also + -------- + :class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment. + Examples -------- >>> ts = pd.Timestamp(2022, 1, 1) @@ -2590,6 +2629,19 @@ cdef class QuarterBegin(QuarterOffset): startingMonth = 2 corresponds to dates like 2/01/2007, 5/01/2007, ... startingMonth = 3 corresponds to dates like 3/01/2007, 6/01/2007, ... + Parameters + ---------- + n : int, default 1 + The number of quarters represented. + normalize : bool, default False + Normalize start/end dates to midnight before generating date range. + startingMonth : int, default 3 + A specific integer for the month of the year from which we start quarters. + + See Also + -------- + :class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment. + Examples -------- >>> ts = pd.Timestamp(2022, 1, 1)