from multiprocessing import Pool
with Pool(processes=6) as p:
p.starmap(update_tabl, zip(r))
I am using the approach outlined here: https://web.archive.org/web/20170625154652/http://n-s-f.github.io/2016/12/23/starmap-pattern.html to parallelize calling of a function update_table
that returns a dataframe as output.
How can I concatenate all these dataframes? I could use pd.concat
if I were using a for loop but not sure how to do it in parallel