text_plain_output_2.png
chunk_iter = _smallstruct.groupby(['molecule_name'])
pool = mp.Pool(4)
funclist = []
for df in tqdm(chunk_iter):
    f = pool.apply_async(compute_all_yukawa, [df[1]])
    funclist.append(f)
result = []
for f in tqdm(funclist):
    result.append(f.get(timeout=120))
smallstruct2 = pd.concat(result)