GroupedView

com.audienceproject.crossbow.DataFrame.GroupedView
class GroupedView

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def agg(aggExprs: DataFrame ?=> Expr*): DataFrame

Aggregate this GroupedView to a new DataFrame, evaluated by the list of aggregation expressions. An aggregation expression can be any expression, but it must contain Aggregator expressions instead of column accessors. The Aggregator expressions themselves may contain arbitrary expressions with combinations of column accessors. Use the 'as' method on Expr to name the resulting columns.

Aggregate this GroupedView to a new DataFrame, evaluated by the list of aggregation expressions. An aggregation expression can be any expression, but it must contain Aggregator expressions instead of column accessors. The Aggregator expressions themselves may contain arbitrary expressions with combinations of column accessors. Use the 'as' method on Expr to name the resulting columns.

Value parameters

aggExprs

the list of Expr used to aggregate the values of the groups

Attributes

Returns

new DataFrame