Skip to content

Commit 74bd0df

Browse files
DOC: add PR02 for MonthEnd methods
1 parent 529bcc1 commit 74bd0df

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pandas/_libs/tslibs/offsets.pyx

+8-4
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@ cdef class MonthEnd(MonthOffset):
29392939
29402940
MonthEnd goes to the next date which is an end of the month.
29412941
2942-
Parameters
2942+
Attributes
29432943
----------
29442944
n : int, default 1
29452945
The number of months represented.
@@ -3014,7 +3014,7 @@ cdef class BusinessMonthEnd(MonthOffset):
30143014
30153015
BusinessMonthEnd goes to the next date which is the last business day of the month.
30163016
3017-
Parameters
3017+
Attributes
30183018
----------
30193019
n : int, default 1
30203020
The number of months represented.
@@ -3222,7 +3222,7 @@ cdef class SemiMonthEnd(SemiMonthOffset):
32223222
"""
32233223
Two DateOffset's per month repeating on the last day of the month & day_of_month.
32243224
3225-
Parameters
3225+
Attributes
32263226
----------
32273227
n : int, default 1
32283228
The number of months represented.
@@ -3231,6 +3231,10 @@ cdef class SemiMonthEnd(SemiMonthOffset):
32313231
day_of_month : int, {1, 3,...,27}, default 15
32323232
A specific integer for the day of the month.
32333233
3234+
See Also
3235+
--------
3236+
:class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment.
3237+
32343238
Examples
32353239
--------
32363240
>>> ts = pd.Timestamp(2022, 1, 14)
@@ -4517,7 +4521,7 @@ cdef class CustomBusinessMonthEnd(_CustomBusinessMonth):
45174521
45184522
Increments between end of month dates.
45194523
4520-
Parameters
4524+
Attributes
45214525
----------
45224526
n : int, default 1
45234527
The number of months represented.

0 commit comments

Comments
 (0)