Aggregation operators

class COUNT[source]

Counts the number of regions in the group. It is automatically computed by the map() operation

class SUM(argument)[source]

Computes the sum of the values of the specified attribute

class MIN(argument)[source]

Gets the minimum value in the aggregation group for the specified attribute

class MAX(argument)[source]

Gets the maximum value in the aggregation group for the specified attribute

class AVG(argument)[source]

Gets the average value in the aggregation group for the specified attribute

class BAG(argument)[source]

Creates space-separated string of attribute values for the specified attribute. It is applicable to attributes of any type.

class STD(argument)[source]

Gets the standard deviation of the aggregation group for the specified attribute

class MEDIAN(argument)[source]

Gets the median value of the aggregation group for the specified attribute

class Q1(argument)[source]

Gets the first quartile for the specified attribute

class Q2(argument)[source]

Gets the second quartile for the specified attribute

class Q3(argument)[source]

Gets the third quartile for the specified attribute