est.core.monotonic.first_monotonic_size#

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

Determine the length of the first monotonically increasing or decreasing slice starting from the first value.