Skip to content

Commit b9322f4

Browse files
authored
Merge pull request #386 from TabletopWhale/zero-index-example
Add example diagram on zero index arrays to 01-numpy python lesson
2 parents e1cef77 + c2ac7f2 commit b9322f4

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed

_episodes/01-numpy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ It takes a bit of getting used to,
348348
but one way to remember the rule is that
349349
the index is how many steps we have to take from the start to get the item we want.
350350
351+
![Zero Index](../fig/python-zero-index.png)
352+
351353
> ## In the Corner
352354
>
353355
> What may also surprise you is that when Python displays an array,

fig/python-zero-index.png

51.4 KB
Loading

fig/python-zero-index.svg

Lines changed: 103 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)