Skip to content

Commit c16f459

Browse files
DOC: Fix duplicates parameter docstring in pandas.cut (#63381)
1 parent bb47429 commit c16f459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/reshape/tile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def cut(
108108
The precision at which to store and display the bins labels.
109109
include_lowest : bool, default False
110110
Whether the first interval should be left-inclusive or not.
111-
duplicates : {default 'raise', 'drop'}, optional
111+
duplicates : {'raise', 'drop'}, default 'raise'
112112
If bin edges are not unique, raise ValueError or drop non-uniques.
113113
ordered : bool, default True
114114
Whether the labels are ordered or not. Applies to returned types

0 commit comments

Comments
 (0)