These are chat archives for
numpy/numpy
18
^{th}
Oct 2017
Toggle Heatmap
Sign in to start talking
numpy/numpy
Numpy main repository
Saurabh Vyas
@saurabhvyas
Oct 18 2017 16:24
guys what does [-1] mean in indexing, for instance if an array is of size 2
28
28 , I see printing arr[-1] gives a array of size 28*28 , can I find its function in detail ?
Denis Lisov
@tanriol
Oct 18 2017 16:26
arr[-1]
is the same as
arr[len(arr) - 1]
Saurabh Vyas
@saurabhvyas
Oct 18 2017 16:26
oh I see , thank you
@tanriol
_