(value, nfinite, result)
return nfinite, result
Calculate the window sum without old value.
Calculate the window sum without old value.
Calculate the window sum without old value .
def pop_sum(value, nfinite, result):
    """Calculate the window sum without old value."""
    if numpy.isfinite(value):
        nfinite -= 1
        result -= value

    return nfinite, result
def pop_sum ( value , nfinite , result ) : if numpy . isfinite ( value ) : nfinite -= 1 result -= value return nfinite , result