View a markdown version of this page

AVERAGE - AWS Glue DataBrew開發人員指南

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AVERAGE

計算來源資料欄中值的平均值,並在新資料欄中傳回結果。忽略任何非數字。

Parameters
  • sourceColumns – JSON 編碼字串,代表現有資料欄的清單。

  • targetColumn – 新建立資料欄的名稱。

範例範例

{ "RecipeAction": { "Operation": "AVERAGE", "Parameters": { "sourceColumns": "[\"age\",\"weight_kg\",\"height_cm\"]", "targetColumn": "AVERAGE Column 1" } } }