TimeSeriesMap
TimeSeriesMap[f, tseries] applies f to the values in tseries.
Examples
Apply a function to time series values:
ts = TimeSeries[{1, 2, 3, 4, 5}];
TimeSeriesMap[#^2 &, ts]Take the logarithm of values:
TimeSeriesMap[Log, ts]Apply a smoothing function:
TimeSeriesMap[MovingAverage[#, 3] &, ts]Please visit the official Wolfram Language Reference for more details.