Пробег:
import multiprocessing
output=[]
raw_data = [[2,2],[4,3],[5,1],[6,3],[7,2],[12,4],[12,2]]
def features_construct(index, row):
dict_features ={}
...
return(dict_features)
def combinations():
pool = multiprocessing.Pool(64)
outputs=pool.starmap(features_construct, raw_data)
### check starmap above
return outputs
if __name__ == '__main__':
output.append(combinations())