Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
122
print(
"Example 8"
)
123
def
mapreduce(data_dir):
124
inputs = generate_inputs(data_dir)
125
workers = create_workers(inputs)
126
return
execute(workers)
127
128
129
print(
"Example 9"
)
Callers
1
item_052.py
File · 0.85
Calls
4
generate_inputs
Function · 0.85
create_workers
Function · 0.85
execute
Function · 0.85
create_workers
Method · 0.80
Tested by
no test coverage detected