Skip to content

Commit d308111

Browse files
committed
Document new parameter Right for qcut function
1 parent 90481c2 commit d308111

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/core/reshape/tile.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,11 @@ def qcut(
324324
The precision at which to store and display the bins labels.
325325
duplicates : {default 'raise', 'drop'}, optional
326326
If bin edges are not unique, raise ValueError or drop non-uniques.
327+
right : bool, default True
328+
Indicates whether `bins` includes the rightmost edge or not. If
329+
``right == True`` (the default), then the `bins` ``[1, 2, 3, 4]``
330+
indicate (1,2], (2,3], (3,4]. This argument is ignored when
331+
`bins` is an IntervalIndex.
327332
328333
Returns
329334
-------

0 commit comments

Comments
 (0)