pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

Why is the duration of pm4py in seconds? #412

Closed DAAworld closed 1 year ago

DAAworld commented 1 year ago

If the process is executed by a computer, such as RPA, then the time is likely to be shortened to the millisecond level. If the second is still used at this time, then nothing can be analyzed. I've tried monkey patching astype("int64") // 10 9 to 10 6, or changing astype('timedelta64[s]') to astype('timedelta64[ms]') , I found that the workload was too great and finally gave up.

fit-alessandro-berti commented 1 year ago

Dear @DAAworld

Thanks for the suggestion. We may consider to change the timestamp difference computation from seconds to milliseconds.

DAAworld commented 1 year ago

Dear @DAAworld

Thanks for the suggestion. We may consider to change the timestamp difference computation from seconds to milliseconds.

OK, I hope the project will get better and better

fit-alessandro-berti commented 1 year ago

Dear @DAAworld

We checked and in the current version of the code, the two patterns have been mostly replaced. We'll finish their replacement in the next release.