public quantile(notnull q as IList<Double>, axis as Long, method as QuantileMethod = QuantileMethod.Linear, keepDims as Boolean = false, ignoreNaN as Boolean = false, where as Boolean[] = null) as NDArray<Double>
Multiple quantiles along one axis; sample scratch is shared across requests.
| Parameter | Description |
|---|---|
q | Non-empty probabilities in [0,1]. |
axis | Positive/negative axis to reduce. |
method | Interpolation method, Linear by default. |
keepDims | Keep the reduced dimension with length one. |
ignoreNaN | Skip NaNs, otherwise propagate them. |
where | Optional flat Boolean mask matching the source size. |
Double tensor with requested quantiles on its leading axis.
quartiles = data.quantile([0.25, 0.5, 0.75], axis=1l)