Skip to content
Snippets Groups Projects
Commit 43fdb271 authored by Aleksandra Dimitrova's avatar Aleksandra Dimitrova
Browse files

renamed: README.md -> simpy_tutorial/README.md

	modified:   simpy_tutorial/__pycache__/environment.cpython-311.pyc
	modified:   simpy_tutorial/__pycache__/eventlog.cpython-311.pyc
	modified:   simpy_tutorial/__pycache__/processmodel.cpython-311.pyc
	modified:   simpy_tutorial/__pycache__/rlalgorithm.cpython-311.pyc
	modified:   simpy_tutorial/eventlog.py
	new file:   simpy_tutorial/out.csv
parent 12381837
No related branches found
No related tags found
No related merge requests found
File moved
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -24,9 +24,15 @@ def add_end_event(process, event_id, end_timestamp):
# add functions for adding events with their attributes to the log
<<<<<<<< HEAD:simpy_tutorial/eventlog.py
def export_to_csv(env, file_path):
event_log_df = pd.DataFrame.from_dict(env.bigeventlog)
event_log_df.to_csv(file_path)
========
def export_to_csv(process, file_path):
event_log_df = pd.DataFrame.from_dict(process.event_log)
event_log_df.to_csv(file_path, index=False)
>>>>>>>> 575b59827b5f928da4165070a4a1d51a85eed774:Simpy_Tutorial/eventlog.py
def export_to_xes(process, file_path):
# Use appropriate code to export to XES format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment