Closed sefeoglu closed 10 months ago
Hi @JulianSampels,
You can write a function for all the code to write data in a JSON file. Just call this function when saving data to a file. Define a utility file for read and write json file and import them from utility when you need.
https://github.com/sefeoglu/ODS_project_student/blob/4d261de0202bd7c37352021e117f1209551399c8/src/batch_loaders/random_walk.py#L321C1-L324C43
random_walk.py will be adjusted to use utils when solving #24 and #17
Hi @JulianSampels,
You can write a function for all the code to write data in a JSON file. Just call this function when saving data to a file. Define a utility file for read and write json file and import them from utility when you need.
https://github.com/sefeoglu/ODS_project_student/blob/4d261de0202bd7c37352021e117f1209551399c8/src/batch_loaders/random_walk.py#L321C1-L324C43