pm4py.ocel.ocel_get_attribute_names#

pm4py.ocel.ocel_get_attribute_names(ocel: OCEL) List[str][source]#

Gets the list of attributes at the event and the object level of an object-centric event log (e.g. [“cost”, “amount”, “name”])

Parameters:

ocel (OCEL) – object-centric event log

Return type:

List[str]

import pm4py

attribute_names = pm4py.ocel_get_attribute_names(ocel)