avg() (aggregation function)
Calculates the average of Expr across the group.
- Can only be used in context of aggregation inside summarize
- Expr: Expression that will be used for aggregation calculation. Records with
nullvalues are ignored and not included in the calculation.
The average value of Expr across the group.