<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mean(self, *args, **kwargs):
 """ Exponential weighted moving average. Parameters *args, **kwargs Arguments and keyword arguments to be passed into func. """

        nv.validate_window_func('mean', args, kwargs)
        return self._apply('ewma', **kwargs)