Skip to content

Commit 0548ddf

Browse files
committed
update docstring
1 parent 8e572bb commit 0548ddf

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

pandas/tseries/holiday.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -177,21 +177,23 @@ def __init__(
177177
----------
178178
name : str
179179
Name of the holiday , defaults to class name
180-
year: int
180+
year : int, default None
181181
Year of the holiday
182-
month: int
182+
month : int, default None
183183
Month of the holiday
184-
day: int
184+
day : int, default None
185185
Day of the holiday
186186
offset : array of pandas.tseries.offsets or
187-
class from pandas.tseries.offsets
188-
computes offset from date
189-
observance: function
190-
computes when holiday is given a pandas Timestamp
191-
start_date : datetime-like, optional
192-
end_date : datetime-like, optional
193-
days_of_week:
194-
provide a tuple of days e.g (0,1,2,3,) for Monday Through Thursday
187+
class from pandas.tseries.offsets, default None
188+
Computes offset from date
189+
observance : function, default None
190+
Computes when holiday is given a pandas Timestamp
191+
start_date : datetime-like, default None
192+
First date the holiday is observed
193+
end_date : datetime-like, default None
194+
Last date the holiday is observed
195+
days_of_week : tuple of int or dateutil.relativedelta weekday strs, default None
196+
Provide a tuple of days e.g (0,1,2,3,) for Monday Through Thursday
195197
Monday=0,..,Sunday=6
196198
197199
Examples

0 commit comments

Comments
 (0)