public percentile(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 percentiles along one axis; sample scratch is shared across requests.
| Parameter | Description |
|---|---|
q | Non-empty probabilities in [0,100]. |
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 percentiles on its leading axis.
quartiles = data.percentile([25.0, 50.0, 75.0], axis=1l)