bottomk-others-avg

Input Stack:
k: Int
stat: String
TimeSeriesExpr
Output Stack:
TimeSeriesExpr
 
 

Since: 1.7

Restrict the output for a grouped expression to the k time series with the smallest value for the specified summary statistic and computes an average aggregate for the other time series. Example of usage:

BeforeAfter
name,sps,:eq,
(,nf.cluster,),:by
name,sps,:eq,
(,nf.cluster,),:by,
max,2,:bottomk-others-avg