datatable.qcut()¶
New in version 0.11
Bin all the columns from cols
into intervals with approximately
equal populations. Thus, the intervals are chosen according to
the sample quantiles of the data.
If there are duplicate values in the data, they will all be placed into the same bin. In extreme cases this may cause the bins to be highly unbalanced.
Parameters¶
cols
FExpr
Input data for quantile binning.
nquantiles
int
| List[int]
return
FExpr
f-expression that converts input columns into the columns filled with the respective quantile ids.