Skip to content

Commit facecf8

Browse files
DOC: Added constructor parameters to DateOffset docstring for API consistency
1 parent 44c5613 commit facecf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,8 @@ class OffsetMeta(type):
16371637
# TODO: figure out a way to use a metaclass with a cdef class
16381638
class DateOffset(RelativeDeltaOffset, metaclass=OffsetMeta):
16391639
"""
1640+
class pandas.tseries.offsets.DateOffset(n = 1, normalize = False, weekday = 0, **kwds)
1641+
16401642
Standard kind of date increment used for a date range.
16411643
16421644
Works exactly like the keyword argument form of relativedelta.

0 commit comments

Comments
 (0)