avg method

Map avg(
  1. String attr
)

Compute the average value of the given attribute for the group.

Implementation

Map avg(String attr) => {"AVG": attr};