Quantiles can be defined as an array of cut points (e.g., [0.25, 0.5, 0.75]) or as a number indicating the desired number of bins. Each bin can optionally be assigned a label.

quantiles
[integer, array[number]]
required

Quantiles. Defines the quantiles or number of bins for discretizing the column. Can be an array of cut points or a number indicating the number of bins.

Values must be in the following range:

2 ≤ quantiles < inf
labels
array[string]
default: "['q1', 'q2', 'q3', 'q4']"

Names for the resulting bins. Needs one more label than the number of quantile cut points.