pm4py.ocel.ocel_e2o_lifecycle_enrichment#
- pm4py.ocel.ocel_e2o_lifecycle_enrichment(ocel: OCEL) OCEL [source]#
Inserts lifecycle-based information (when an object is created/terminated or other types of relations) in the list of E2O relations of the OCEL
- Parameters:
ocel (
OCEL
) – object-centric event log- Return type:
OCEL
import pm4py ocel = pm4py.read_ocel('trial.ocel') ocel = pm4py.ocel_e2o_lifecycle_enrichment(ocel) print(ocel.relations)