Skip to content

Commit a6345c7

Browse files
jdoepfertjreback
authored andcommitted
Add requirement for a 1-dimensional ndarray in the pd.qcut docstring (pandas-dev#18211)
1 parent 6b3641b commit a6345c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/reshape/tile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def qcut(x, q, labels=None, retbins=False, precision=3, duplicates='raise'):
148148
149149
Parameters
150150
----------
151-
x : ndarray or Series
151+
x : 1d ndarray or Series
152152
q : integer or array of quantiles
153153
Number of quantiles. 10 for deciles, 4 for quartiles, etc. Alternately
154154
array of quantiles, e.g. [0, .25, .5, .75, 1.] for quartiles

0 commit comments

Comments
 (0)