On this page Signature

API Reference / mespy.median

median

Signature

median(x: ArrayLike) -> float

median returns the median of a numeric sample after validating the input shape and finiteness.

Overview summarizes purpose, parameters, errors and a usage example; Implementation walks through the internal flow and the implemented formulas step by step.