Skip to content

Commit c47a426

Browse files
committed
DOC: fix qcut docs
1 parent a2dc5d1 commit c47a426

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/tests/test_strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def test_string_slice_get_syntax(self):
641641

642642
def test_match_findall_flags(self):
643643
data = {'Dave': '[email protected]', 'Steve': '[email protected]',
644-
'Rob': '[email protected]', 'Wes': np.nan}
644+
'Rob': '[email protected]', 'Wes': np.nan}
645645
data = Series(data)
646646

647647
pat = pattern = r'([A-Z0-9._%+-]+)@([A-Z0-9.-]+)\.([A-Z]{2,4})'

pandas/tools/tile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def qcut(x, q, labels=None, retbins=False, precision=3):
106106
"""
107107
Quantile-based discretization function. Discretize variable into
108108
equal-sized buckets based on rank or based on sample quantiles. For example
109-
1000 values for 10 quantiles would produce 1000 integers from 0 to 9
110-
indicating the
109+
1000 values for 10 quantiles would produce a Categorical object indicating
110+
quantile membership for each data point.
111111
112112
Parameters
113113
----------

0 commit comments

Comments
 (0)