pm4py.ocel.ocel_objects_ot_count#
- pm4py.ocel.ocel_objects_ot_count(ocel: OCEL) Dict[str, Dict[str, int]] [source]#
Returns the count of related objects per type for each event.
- Parameters:
ocel (OCEL) – Object-centric event log.
- Returns:
Nested dictionary mapping events to object types and their counts.
- Return type:
Dict[str, Dict[str, int]]
import pm4py objects_ot_count = pm4py.ocel_objects_ot_count(ocel)