Skip to content

Commit 232f82d

Browse files
10th update for issue 3439
1 parent 3fcf43a commit 232f82d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/reshape/tile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def qcut(x, q, labels=None, retbins=False, precision=3, duplicates='raise'):
181181
Examples
182182
--------
183183
>>> pd.qcut(range(5), 4)
184-
[[0, 1], [0, 1], (1, 2], (2, 3], (3, 4]]
185-
Categories (4, object): [[0, 1] < (1, 2] < (2, 3] < (3, 4]]
184+
[(-0.001, 1.0], (-0.001, 1.0], (1.0, 2.0], (2.0, 3.0], (3.0, 4.0]]
185+
Categories (4, interval[float64]): [(-0.001, 1.0] < (1.0, 2.0] < (2.0, 3.0] < (3.0, 4.0]]
186186
187187
>>> pd.qcut(range(5), 3, labels=["good","medium","bad"])
188188
[good, good, medium, bad, bad]

0 commit comments

Comments
 (0)