pm4py.discovery.discover_footprints#
- pm4py.discovery.discover_footprints(*args: EventLog | Tuple[PetriNet, Marking, Marking] | ProcessTree) List[Dict[str, Any]] | Dict[str, Any] [source]#
Discovers the footprints from the provided event log or process model.
Footprints are a high-level representation of the behavior captured in the event log or process model.
- Parameters:
args – Event log, process model (Petri net and markings), or ProcessTree.
- Returns:
A list of footprint dictionaries or a single footprint dictionary.
- Return type:
Union[List[Dict[str, Any]], Dict[str, Any]]
import pm4py footprints = pm4py.discover_footprints( dataframe, activity_key='concept:name', case_id_key='case:concept:name', timestamp_key='time:timestamp' )