Unverified Commit ab4f9c7f authored by Noah Spies's avatar Noah Spies Committed by GitHub
Browse files

Make row,column indexing convention clear early on

parent ebe47753
......@@ -330,8 +330,8 @@ middle value in data: 13.0
{: .output}
The expression `data[30, 20]` may not surprise you,
but `data[0, 0]` might.
The expression `data[30, 20]` accesses the element at row 30, column 20. While this expression may not surprise you,
`data[0, 0]` might.
Programming languages like Fortran, MATLAB and R start counting at 1,
because that's what human beings have done for thousands of years.
Languages in the C family (including C++, Java, Perl, and Python) count from 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment