Skip to content

Commit 30a7df1

Browse files
committed
Merge pull request #7046 from jseabold/docs-fix
DOC: Add parameter to docstring
2 parents e94e38a + bd2d105 commit 30a7df1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tools/tile.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ def cut(x, bins, right=True, labels=None, retbins=False, precision=3,
3838
retbins : bool, optional
3939
Whether to return the bins or not. Can be useful if bins is given
4040
as a scalar.
41+
precision : int
42+
The precision at which to store and display the bins labels
43+
include_lowest : bool
44+
Whether the first interval should be left-inclusive or not.
4145
4246
Returns
4347
-------
@@ -121,6 +125,8 @@ def qcut(x, q, labels=None, retbins=False, precision=3):
121125
retbins : bool, optional
122126
Whether to return the bins or not. Can be useful if bins is given
123127
as a scalar.
128+
precision : int
129+
The precision at which to store and display the bins labels
124130
125131
Returns
126132
-------

0 commit comments

Comments
 (0)