median#
- named_arrays.pdf.median(x, f, axis=None)#
Compute the median of the given probability mass function, f.
- Parameters:
x (AbstractScalar) – The edges of each bin of the probability mass function. This should have one more element than f along axis.
f (AbstractScalar) – The probability mass function to compute the percentile of. Does not need to be normalized.
axis (None | str | Sequence[str]) – The logical axis corresponding to changing x.
- Return type: