parallel

mastml.mastml.parallel(func, x, *args, **kwargs)[source]

Run some function in parallel.

inputs:

func = The function to apply. x = The list of items to apply function on.

outputs:

data = List of items returned by func.