code: def __init__(self):
      # Before super to ensure mixins (right-hand side in subclassing)
      # can see the assignment operation and operate on the line
      self.lines[0] = es = ExponentialSmoothing(
          self.data,
          period=self.p.period,
          alpha=2.0 / (1.0 + self.p.period),
      )
  
      self.alpha, self.alpha1 = es.alpha, es.alpha1
  
      super(ExponentialMovingAverage, self).__init__()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from .None import MovingAverageBase, ExponentialSmoothing
label_desc: Use image node_id 1 to create a new ExponentialMovingAverage object from inherited base classes: MovingAverageBase with example: obj = ExponentialMovingAverage()