def test_new_statistics_df(self): df = pd.read_csv("input_data/running-example.csv") df = pm4py.format_dataframe(df) pm4py.get_trace_attribute_values(df, "case:creator") pm4py.discover_eventually_follows_graph(df) pm4py.get_case_arrival_average(df)
def test_case_arrival(self): import pm4py log = pm4py.read_xes(os.path.join("input_data", "running-example.xes")) avg = pm4py.get_case_arrival_average(log) self.assertIsNotNone(avg)
def test_new_statistics_log(self): log = pm4py.read_xes("input_data/running-example.xes") pm4py.get_trace_attribute_values(log, "creator") pm4py.discover_eventually_follows_graph(log) pm4py.get_case_arrival_average(log)