pm4py.ocel.ocel_get_attribute_names#

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

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

Parameters:

ocel (OCEL) – Object-centric event log.

Returns:

List of attribute names.

Return type:

List[str]

import pm4py

attribute_names = pm4py.ocel_get_attribute_names(ocel)