Comments (2)
Dear @goto-loop
The format_dataframe is there to stay for the foreseeable future, despite its triviality. Essentially what it does is:
- ensuring that case ID, activity (and resource) columns are of type string
- renaming the columns to the pm4py standard
- making sure that time:timestamp is of type datetime (so the datetime are parsed)
- making sure that the dataframe events are sorted according to the timestamp.
We'll update the documentation to properly include and reference the format_dataframe function.
from pm4py-core.
Thanks for the answer, that's good to know! The function may be trivial, but it seems useful to me because you end up with a properly formatted dataframe using just a single line of code.
Doesn't format_dataframe
also add two new columns, @@index
and @@case_index
?
from pm4py-core.
Related Issues (20)
- Time range filter not working with timezone-naive timestamps HOT 2
- dfg created using dfg_visualizer not detecting the starting activity of the process. I am using correlation miner without case id. HOT 1
- pm4py.write.write_bpmn(...) produces invalid BPMN schema HOT 2
- pm4py.llm.openai_query() does not work HOT 1
- Trouble Generating Log File with 'Extensive' Playout Variant in Petri Net Simulation from .pmml File HOT 1
- GPU-based process mining HOT 3
- pm4py.convert.convert_to_petri_net(bpmn) not support inclusiveGateway HOT 1
- Missing PEP 561-compliancy HOT 1
- OCDFG: Visualization issue when having only one activity to show HOT 1
- Suggestion: Integration of Azure OpenAI API HOT 1
- Duplicated sequence from activity to Exclusive Gateway in BPMN visualization HOT 7
- Convert_to_process_tree not working HOT 3
- Method get_event_attribute_values does not get attributes. HOT 4
- Event order is incorrect when adjacent events have only miliseconds difference HOT 3
- TLS certificate expired HOT 2
- Getting a False soundness result for the simplest BPMN model HOT 2
- HELP: Is it possible to convert a BPMN to a TPN file? HOT 1
- ocel interleavings discovery throws TypeError HOT 7
- petrinet to bpmn HOT 4
- SSL Down PM4PY.FIT.FRAUNHOFER.DE website HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm4py-core.