Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/practical-python
/ make_dicts
Function
make_dicts
Solutions/8_1/ticker.py:16–17 ·
view source on GitHub ↗
(rows, headers)
Source
from the content-addressed store, hash-verified
14
yield
[func(val)
for
func, val in zip(types, row)]
15
16
def
make_dicts(rows, headers):
17
return
(dict(zip(headers,row))
for
row in rows)
18
19
def
parse_stock_data(lines):
20
rows = csv.reader(lines)
Callers
1
parse_stock_data
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected