Skip to content

Commit 7e3afa3

Browse files
committed
Added extended summary and see also section
1 parent 9a493e9 commit 7e3afa3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,11 +2492,17 @@ cdef class Week(SingleConstructorOffset):
24922492
"""
24932493
Weekly offset.
24942494
2495+
This can increment the date object by given week or weekdays.
2496+
24952497
Parameters
24962498
----------
24972499
weekday : int or None, default None
24982500
Always generate specific day of week. 0 for Monday and 6 for Sunday.
24992501
2502+
See Also
2503+
--------
2504+
pd.tseries.offsets.WeekOfMonth : Describes monthly dates like "the Tuesday of the 2nd week of each month".
2505+
25002506
Examples
25012507
---------
25022508
>>> date_format = "%Y-%m-%d"

0 commit comments

Comments
 (0)