MCPcopy Create free account
hub / github.com/dabeaz-course/practical-python / make_dicts

Function make_dicts

Solutions/7_4/ticker.py:17–18  ·  view source on GitHub ↗
(rows, headers)

Source from the content-addressed store, hash-verified

15 yield [func(val) for func, val in zip(types, row)]
16
17def make_dicts(rows, headers):
18 return (dict(zip(headers,row)) for row in rows)
19
20def parse_stock_data(lines):
21 rows = csv.reader(lines)

Callers 1

parse_stock_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected