---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-7-ff656e92d79c> in <module>
----> 1 arr[10]
IndexError: index 10 is out of bounds for axis 0 with size 10
1
arr[-1] # 뒤에서 부터 1번째. index: 뒤에서 부터 -1, -2, -3,...
9
1
arr[-10]
0
1
arr[-11]
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-10-91f133f07612> in <module>
----> 1 arr[-11]
IndexError: index -11 is out of bounds for axis 0 with size 10
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-43-9c52b39d81ae> in <module>
----> 1 arr[myTrueFalse]
IndexError: boolean index did not match indexed array along dimension 0; dimension is 7 but corresponding boolean dimension is 3