quantilesBFloat16Weighted
Introduced in: v21.10.0 LikequantilesBFloat16 but takes into account the weight of each value.
Computes multiple approximate quantiles of a sample consisting of bfloat16 numbers at different levels simultaneously, in a single pass.
Syntax
level— Levels of quantiles. One or more constant floating-point numbers from 0 to 1. We recommend usinglevelvalues in the range of[0.01, 0.99].Float*
expr— Expression over the column values resulting in numeric data types,DateorDateTime.(U)Int*orFloat*orDateorDateTimeweight— Column with weights of sequence members. Weight is a number of value occurrences.UInt*
Date and DateTime inputs the output format matches the input format. Array(Float64) or Array(Date) or Array(DateTime)
Examples
Computing multiple weighted bfloat16 quantiles
Query
Response