public quantile(notnull q as IList<Double>, axes as IList<Long> = null, method as QuantileMethod = QuantileMethod.Linear, keepDims as Boolean = false, ignoreNaN as Boolean = false, where as Boolean[] = null) as NDArray<Double>
Several exact quantiles, sharing the same sample scratch per output lane.
| Parameter | Description |
|---|---|
q | Non-empty list of probabilities in [0,1]. |
axes | Distinct reduction axes, or null for the entire array. |
method | Quantile interpolation, Linear by default. |
keepDims | Retain reduced axes; probabilities form the leading output axis. |
ignoreNaN | Skip NaNs; otherwise propagate them. |
where | Optional flat Boolean selection mask. |
Double tensor with leading dimension q.size; global output is 1D unless keepDims.
quartiles = data.quantile([0.25, 0.5, 0.75])