本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
ROLLING_AVERAGE
在新資料欄中傳回從 之前指定資料列數的值滾動平均值,到指定資料欄中目前資料列之後的指定資料列數。
Parameters
-
sourceColumn– 現有資料欄的名稱。 -
numRowsBefore– 目前來源資料列之前的列數,代表視窗的開頭。 -
numRowsAfter– 目前來源資料列後面的列數,代表視窗的結尾。 -
targetColumn– 新建立資料欄的名稱。
範例範例
{ "Action": { "Operation": "ROLLING_AVERAGE", "Parameters": { "numRowsAfter": "10", "numRowsBefore": "10", "sourceColumn": "weight_kg", "targetColumn": "weight_kg_ROLLING_AVERAGE" } } }