pm4py.stats.get_trace_attributes#
- pm4py.stats.get_trace_attributes(log: EventLog | DataFrame) List[str] [source]#
Returns the list of trace-level attributes in the log.
- Parameters:
log – Log object (EventLog or pandas DataFrame).
- Returns:
A list of trace attribute names.
import pm4py trace_attributes = pm4py.get_trace_attributes(dataframe)