How do I parallelize this loop in python?
import pandas as pd def my_func(tup): return {tup[0][1]: tup[1][\'col3\'].sum()} arr = [[\'a\',\'c\',3],