pm4py.statistics.passed_time.pandas package

Submodules

pm4py.statistics.passed_time.pandas.algorithm module

class pm4py.statistics.passed_time.pandas.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

POST = <module 'pm4py.statistics.passed_time.pandas.variants.post' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\statistics\\passed_time\\pandas\\variants\\post.py'>
PRE = <module 'pm4py.statistics.passed_time.pandas.variants.pre' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\statistics\\passed_time\\pandas\\variants\\pre.py'>
PREPOST = <module 'pm4py.statistics.passed_time.pandas.variants.prepost' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\statistics\\passed_time\\pandas\\variants\\prepost.py'>
pm4py.statistics.passed_time.pandas.algorithm.apply(df, activity, variant=<Variants.PRE: <module 'pm4py.statistics.passed_time.pandas.variants.pre' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\statistics\\passed_time\\pandas\\variants\\pre.py'>>, parameters=None)[source]

Gets statistics on execution times of the paths to/from the activity

Parameters
  • df – Dataframe

  • activity – Activity

  • variant

    Variant:
    • Variants.PRE

    • Variants.POST

    • Variants.PREPOST

  • parameters – Possible parameters of the algorithm

Returns

Dictio containing the times from/to the activity

Return type

dictio

Module contents