Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
from
follow
import
follow
7
8
def
select_columns(rows, indices):
9
for
row in rows:
10
yield
[row[index]
for
index in indices]
11
12
def
convert_types(rows, types):
13
for
row in rows:
Callers
1
parse_stock_data
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected