ccsf-math-108 / materials-fa23

Fall 2023 student course materials for MATH 108 Foundations of Data Science at CCSF
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Homework 06: After Task 02: tbl.row(n) Comment Error (Moderate) #29

Closed asheynis closed 1 year ago

asheynis commented 1 year ago

In Homework 06, just after Task 02, a markup block reminds us how to get specific rows from a table using tbl.row(n), however it says that it will get the _n_th row of the table but it should say (n+1)th row since Python uses 0 indexing for all iterables. For example, the code block afterward that we have to execute as is uses games.row(10), returning the row with the opponent being Sequoia which is the 11th row of the (football) games table.

shawnwiggins commented 1 year ago

Good point!

Steps