How to parallelize a for-loop within a defined function using Ray in Python
I have been tasked with parallelizing a piece of code for a huge project I am taking a part in. The code.py
I have been tasked with the parallelization goes something like this: