Mean is used to calculate the average values per selected time window. If no time window is provided it returns the mean of the series.
|ts (optional)||Time window.|
A float value.
# Get average value of 'series-001' up until now. select mean(now) from "series-001" before now