def _ewma(v): result = algos.ewma(v, com, int(adjust)) first_index = _first_valid_index(v) result[first_index: first_index + min_periods] = NaN return result
def _ewma(v): result = algos.ewma(v, com, int(adjust), int(ignore_na)) if min_periods > 1: first_index = _first_valid_index(v) result[first_index:first_index + min_periods - 1] = NaN return result
def _ewma(v): return algos.ewma(v, com, int(adjust), int(ignore_na), int(min_periods))
def _ewma(v): result = algos.ewma(v, com, int(adjust), int(ignore_na)) if min_periods > 1: first_index = _first_valid_index(v) result[first_index: first_index + min_periods - 1] = NaN return result