pastas.stats.signatures.reversals_avg ===================================== .. py:function:: pastas.stats.signatures.reversals_avg(series: pandas.Series) -> float Average annual number of rises and falls in daily head. :param series: Pandas Series with DatetimeIndex and head values. :type series: pandas.Series :returns: Average number of rises and falls in daily head per year. :rtype: float .. rubric:: Notes Average annual number of rises and falls (i.e., change of sign) in daily head :cite:p:`richter_method_1996`. The higher the number of reversals, the more variable the head is, and vice versa. If the head data is not daily, a warning is issued and nan is returned. .. !! processed by numpydoc !!