pm4py.statistics.variants.pandas package

Submodules

pm4py.statistics.variants.pandas.get module

pm4py.statistics.variants.pandas.get.get_variants_count(df, parameters=None)[source]

Gets the dictionary of variants from the current dataframe

Parameters
  • df – Dataframe

  • parameters

    Possible parameters of the algorithm, including:

    Parameters.ACTIVITY_KEY -> Column that contains the activity

Returns

Dictionary of variants in the log

Return type

variants_set

pm4py.statistics.variants.pandas.get.get_variants_set(df, parameters=None)[source]

Gets the set of variants from the current dataframe

Parameters
  • df – Dataframe

  • parameters

    Possible parameters of the algorithm, including:

    Parameters.ACTIVITY_KEY -> Column that contains the activity

Returns

Set of variants in the log

Return type

variants_set

Module contents