Step - mean

mean ยท category: Aggregation

Yields the arithmetic mean of the stream (Scope.local: of each collection).

Forms

mean()
mean(arg1: Scope)

Example

g.v().values("age").mean().next()   // 30.75