pm4py.algo.organizational_mining.sna.variants.pandas.working_together module#

class pm4py.algo.organizational_mining.sna.variants.pandas.working_together.Parameters(*values)[source]#

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
RESOURCE_KEY = 'pm4py:param:resource_key'#
CASE_ID_KEY = 'pm4py:param:case_id_key'#
METRIC_NORMALIZATION = 'metric_normalization'#
pm4py.algo.organizational_mining.sna.variants.pandas.working_together.apply(log: DataFrame, parameters: Dict[str | Parameters, Any] | None = None) SNA[source]#

Calculates the Working Together metric

Parameters:
  • log – Log

  • parameters – Possible parameters of the algorithm

Returns:

Tuple containing the metric matrix and the resources list. Moreover, last boolean indicates that the metric is not directed.

Return type:

tuple