Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/practical-python
/ select_columns
Function
select_columns
Solutions/7_4/ticker.py:9–11 ·
view source on GitHub ↗
(rows, indices)
Source
from the content-addressed store, hash-verified
7
import
time
8
9
def
select_columns(rows, indices):
10
for
row in rows:
11
yield
[row[index]
for
index in indices]
12
13
def
convert_types(rows, types):
14
for
row in rows:
Callers
1
parse_stock_data
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected