Concept Flow - ewm() for exponential moving average
Start with data series
Choose span or alpha
Calculate weights exponentially
Apply weights to data points
Compute weighted average
Return smoothed series
The ewm() method calculates a weighted average where recent data points have more influence, smoothing the data over time.