Skip to content

Commit c0262e8

Browse files
DOC: fix PR07,SA01 for pandas.qcut (#58957)
1 parent a30bb6f commit c0262e8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
471471
-i "pandas.plotting.andrews_curves RT03,SA01" \
472472
-i "pandas.plotting.lag_plot RT03,SA01" \
473473
-i "pandas.plotting.scatter_matrix PR07,SA01" \
474-
-i "pandas.qcut PR07,SA01" \
475474
-i "pandas.set_eng_float_format RT03,SA01" \
476475
-i "pandas.testing.assert_extension_array_equal SA01" \
477476
-i "pandas.tseries.offsets.BDay PR02,SA01" \

pandas/core/reshape/tile.py

+6
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def qcut(
289289
Parameters
290290
----------
291291
x : 1d ndarray or Series
292+
Input Numpy array or pandas Series object to be discretized.
292293
q : int or list-like of float
293294
Number of quantiles. 10 for deciles, 4 for quartiles, etc. Alternately
294295
array of quantiles, e.g. [0, .25, .5, .75, 1.] for quartiles.
@@ -313,6 +314,11 @@ def qcut(
313314
bins : ndarray of floats
314315
Returned only if `retbins` is True.
315316
317+
See Also
318+
--------
319+
cut : Bin values into discrete intervals.
320+
Series.quantile : Return value at the given quantile.
321+
316322
Notes
317323
-----
318324
Out of bounds values will be NA in the resulting Categorical object

0 commit comments

Comments
 (0)