data smoothing operations?

Is there a straightforward way to compute a moving average or more sophisticated smoothing of data in an array of objects within observable? I’m thinking of a js equivalent of the pandas operation

mvavg = df['feature'].rolling(window=7).mean()

I guess this is what Mike does:

I bet it’s good. :slight_smile:

I saw that, I guess I need to get in the right mindset and just import it.

For a different type of smoothing (Gaussian kernel):