Пример #1
0
 def _ewma(v):
     result = tseries.ewma(v, com)
     first_index = _first_valid_index(v)
     result[first_index : first_index + min_periods] = NaN
     return result
Пример #2
0
def _ewma(arg, com):
    arg = _check_arg(arg)
    return tseries.ewma(arg, com)
Пример #3
0
 def _ewma(v):
     result = tseries.ewma(v, com)
     first_index = _first_valid_index(v)
     result[first_index:first_index + min_periods] = NaN
     return result
Пример #4
0
def _ewma(arg, com):
    arg = _check_arg(arg)
    return tseries.ewma(arg, com)