Skip to content

Commit 66d465b

Browse files
committed
Add deprecation tag + inclusive arg
1 parent 0d0b584 commit 66d465b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/core/indexes/datetimes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,12 @@ def bdate_range(
11191119
closed : str, default None
11201120
Make the interval closed with respect to the given frequency to
11211121
the 'left', 'right', or both sides (None).
1122+
.. deprecated:: 1.4.0
1123+
Argument `closed` have been deprecated
1124+
to standardize boundary inputs. Use `inclusive` instead, to set
1125+
each bound as closed or open.
1126+
inclusive : {"both", "neither", "left", "right"}, default "both"
1127+
Include boundaries; Whether to set each bound as closed or open.
11221128
**kwargs
11231129
For compatibility. Has no effect on the result.
11241130

0 commit comments

Comments
 (0)