est.core.monotonic.mean_nonzero#

est.core.monotonic.mean_nonzero(values: Sequence[float]) float[source]#

Average non-zero value. Returns nan for an empty list and 0. when all values are zero.