REPLACE_WITH_AVERAGE - Amazon Glue DataBrew
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

REPLACE_WITH_AVERAGE

Replaces each invalid value in a column with the average of all other values.

Parameters
  • sourceColumn – The name of an existing column.

  • columnDataType – The data type of the column. This type must be number.

Example

{ "RecipeAction": { "Operation": "REPLACE_WITH_AVERAGE", "Parameters": { "columnDataType": "number", "sourceColumn": "age" } } }