original_docstring: 
      Implement expontential moving average with convolution operator.
      
docstring: Implement expontential moving average with convolution operator.
docstring_tokens: Implement expontential moving average with convolution operator .
code: def ewma(hist, alpha, windowSize):
      """
      Implement expontential moving average with convolution operator.
      """
      wghts = (1 - alpha) ** np.arange(windowSize)
      wghts = wghts / wghts.sum()
      out = np.full(len(hist), np.nan)
      out = np.convolve(hist, wghts, 'same')
      return out
code_tokens: def ewma ( hist , alpha , windowSize ) : wghts = ( 1 - alpha ) ** np . arange ( windowSize ) wghts = wghts / wghts . sum ( ) out = np . full ( len ( hist ) , np . nan ) out = np . convolve ( hist , wghts , 'same' ) return out
short_docstring: Implement expontential moving average with convolution operator.
short_docstring_tokens: Implement expontential moving average with convolution operator .
comment: """
      Implement expontential moving average with convolution operator.
      """