-
Notifications
You must be signed in to change notification settings - Fork 0
IllustrativeSteps
SaraPettinari edited this page May 29, 2025
·
1 revision
Query Step:
step1 = AggrStep(aggr_type="ENTITIES", ent_type= "teamId", group_by=["country"],
where=None, attr_aggrs=[AttrAggr(name='city', function=AggregationFunction.MULTISET)])Output:

Query Step:
step2 = AggrStep(aggr_type="ENTITIES", ent_type= "playerId", group_by=["role"],
where=None, attr_aggrs=[])Output:

Query Step:
AggrStep(aggr_type="EVENTS", ent_type= None, where=None,
group_by=[log.event_activity, "teamId","playerId"],
attr_aggrs=[AttrAggr(name=log.event_timestamp, function=AggregationFunction.MINMAX),
AttrAggr(name="matchId", function=AggregationFunction.MULTISET)])Output:

Note
The output displays the EKG after the finalization function has been applied.
Β© 2026 ocean-lib. All rights reserved.