datatable.cut()¶
New in version 0.11
Cut all the columns from cols
by binning their values into
equal-width discrete intervals.
Parameters¶
cols
FExpr
Input data for equal-width interval binning.
nbins
int
| List[int]
right_closed
bool
Each binning interval is half-open. This flag indicates which side of the interval is closed.
return
FExpr
f-expression that converts input columns into the columns filled with the respective bin ids.