MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / mapreduce

Function mapreduce

example_code/item_052.py:123–126  ·  view source on GitHub ↗
(data_dir)

Source from the content-addressed store, hash-verified

121
122print("Example 8")
123def mapreduce(data_dir):
124 inputs = generate_inputs(data_dir)
125 workers = create_workers(inputs)
126 return execute(workers)
127
128
129print("Example 9")

Callers 1

item_052.pyFile · 0.85

Calls 4

generate_inputsFunction · 0.85
create_workersFunction · 0.85
executeFunction · 0.85
create_workersMethod · 0.80

Tested by

no test coverage detected