- pm4py.ocel.ocel_flattening(ocel: OCEL, object_type: str) DataFrame #
Flattens the object-centric event log to a traditional event log with the choice of an object type. In the flattened log, the objects of a given object type are the cases, and each case contains the set of events related to the object.
OCEL) – object-centric event log
str) – object type
- Return type:
import pm4py event_log = pm4py.ocel_flattening(ocel, 'items')