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

Function select_columns

Solutions/8_1/ticker.py:8–10  ·  view source on GitHub ↗
(rows, indices)

Source from the content-addressed store, hash-verified

6from follow import follow
7
8def select_columns(rows, indices):
9 for row in rows:
10 yield [row[index] for index in indices]
11
12def convert_types(rows, types):
13 for row in rows:

Callers 1

parse_stock_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected