Ningyi Du <ningy...@gmail.com> added the comment:

This is a simple test:

test=np.zeros((2,3,4))
print(test[1][3][1])

IndexError                                Traceback (most recent call last)
<ipython-input-13-61c3cf4c90fc> in <module>
      1 test=np.zeros((2,3,4))
----> 2 print(test[1][3][1])

IndexError: index 3 is out of bounds for axis 0 with size 3

----------
nosy:  -xtreak

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39864>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to