Pandas' group-by/apply with multiprocessing