Skip to content

Commit a82901b

Browse files
committed
修改错误
修改错误
1 parent 3c0dca1 commit a82901b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c06/p01_read_write_csv_data.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Process row
3636
...
3737
38-
在上面的代码中, ``row`` 会是一个元组。因此,为了访问某个字段,你需要使用下标,如 ``row[0]`` 访问Symbol, ``row[4]`` 访问Change。
38+
在上面的代码中, ``row`` 会是一个列表。因此,为了访问某个字段,你需要使用下标,如 ``row[0]`` 访问Symbol, ``row[4]`` 访问Change。
3939

4040
由于这种下标访问通常会引起混淆,你可以考虑使用命名元组。例如:
4141

0 commit comments

Comments
 (0)