pm4py.statistics.passed_time.pandas.variants package

Submodules

pm4py.statistics.passed_time.pandas.variants.post module

class pm4py.statistics.passed_time.pandas.variants.post.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'
CASE_ID_KEY = 'case_id_glue'
KEEP_ONCE_PER_CASE = 'keep_once_per_case'
MAX_NO_POINTS_SAMPLE = 'max_no_of_points_to_sample'
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'
pm4py.statistics.passed_time.pandas.variants.post.apply(df, activity, parameters=None)[source]

Gets the time passed to each succeeding activity

Parameters
  • df – Dataframe

  • activity – Activity that we are considering

  • parameters – Possible parameters of the algorithm

Returns

Dictionary containing a ‘post’ key with the list of aggregates times from the given activity to each succeeding activity

Return type

dictio

pm4py.statistics.passed_time.pandas.variants.pre module

class pm4py.statistics.passed_time.pandas.variants.pre.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'
CASE_ID_KEY = 'case_id_glue'
KEEP_ONCE_PER_CASE = 'keep_once_per_case'
MAX_NO_POINTS_SAMPLE = 'max_no_of_points_to_sample'
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'
pm4py.statistics.passed_time.pandas.variants.pre.apply(df, activity, parameters=None)[source]

Gets the time passed from each preceding activity

Parameters
  • df – Dataframe

  • activity – Activity that we are considering

  • parameters – Possible parameters of the algorithm

Returns

Dictionary containing a ‘pre’ key with the list of aggregates times from each preceding activity to the given activity

Return type

dictio

pm4py.statistics.passed_time.pandas.variants.prepost module

class pm4py.statistics.passed_time.pandas.variants.prepost.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
ATTRIBUTE_KEY = 'pm4py:param:attribute_key'
CASE_ID_KEY = 'case_id_glue'
KEEP_ONCE_PER_CASE = 'keep_once_per_case'
MAX_NO_POINTS_SAMPLE = 'max_no_of_points_to_sample'
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'
pm4py.statistics.passed_time.pandas.variants.prepost.apply(df, activity, parameters=None)[source]

Gets the time passed from each preceding activity and to each succeeding activity

Parameters
  • df – Dataframe

  • activity – Activity that we are considering

  • parameters – Possible parameters of the algorithm

Returns

Dictionary containing a ‘pre’ key with the list of aggregated times from each preceding activity to the given activity and a ‘post’ key with the list of aggregates times from the given activity to each succeeding activity

Return type

dictio

Module contents