pm4py.stats.get_trace_attributes#

pm4py.stats.get_trace_attributes(log: EventLog | DataFrame) List[str][source]#

Gets the attributes at the trace level of a log object

Parameters:

log – Log object

Return type:

List[str]

import pm4py

trace_attributes = pm4py.get_trace_attributes(dataframe)