コード例 #1
0
ファイル: moments.py プロジェクト: asruesch/pandas
 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
コード例 #2
0
 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
コード例 #3
0
ファイル: moments.py プロジェクト: ubdsgroup/wikienergy
 def _ewma(v):
     return algos.ewma(v, com, int(adjust), int(ignore_na),
                       int(min_periods))
コード例 #4
0
 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
コード例 #5
0
ファイル: moments.py プロジェクト: adamgreenhall/pandas
 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
コード例 #6
0
ファイル: moments.py プロジェクト: anaheino/Ufo-sightings-map
 def _ewma(v):
     return algos.ewma(v, com, int(adjust), int(ignore_na), int(min_periods))