From 7e71c37d9e12394679fd2dbc29959e9df99e5abd Mon Sep 17 00:00:00 2001 From: zacharym-collins Date: Tue, 16 Dec 2025 07:16:57 -0600 Subject: [PATCH] DOC: Fix duplicates parameter docstring in pandas.cut. Closes #63377 --- pandas/core/reshape/tile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py index 2a45bfc5dc237..659e82d979a91 100644 --- a/pandas/core/reshape/tile.py +++ b/pandas/core/reshape/tile.py @@ -108,7 +108,7 @@ def cut( The precision at which to store and display the bins labels. include_lowest : bool, default False Whether the first interval should be left-inclusive or not. - duplicates : {default 'raise', 'drop'}, optional + duplicates : {'raise', 'drop'}, default 'raise' If bin edges are not unique, raise ValueError or drop non-uniques. ordered : bool, default True Whether the labels are ordered or not. Applies to returned types