Closed fmannhardt closed 3 years ago
Seems to be cause by the column not being a str
type. So doing providing dtype = str
to the CSV read fixes this. But it is a bit unexpected :-)
Ehi,
Try to use "pm4py.statistics.traces.pandas.case_statistics" instead of that. That requires an event log as input ;)
But I am converting it to an event log here:
log = pm4py.convert_to_event_log(log)
Ehi, sorry for the misunderstanding. We should perhaps force the activity to be a string. We'll discuss internally and decide how to fix this in the next release
Dear Felix,
We fixed that in PM4Py 2.2.9
The format_dataframe function now casts the activity column to string
I am trying to use
case_statistics.get_variant_statistics(log)
on the Helpdesk log but I am getting the following error.Here how to reproduce (using the following dataset: https://mendeley.figshare.com/ndownloader/files/16362776