i have a function "sas" which takes 12 arguments. i created a list with itertools product like this
p = Pool(processes=8)
nar = []
for i, t in itertools.product(range(50, 450, 50), range(50, 450, 50)):
nar.append([300, 382, i, t, 86, 264, 418, 4, 5, 4, 5, 4])
this created a list of lists
i am trying to map a function over this list but it takes only 1 argument at a time , with error "missing 11 required positional arguments: "
i tried this
data = p.map(sas, nar)
and this
data = p.map(sas, [i for i in nar])
and some others i suspect even more stupid
how can i iterate over list of lists using list of 12 numbers at a time