Does doing basic indexing in ndarray via slice have build-in boundary check?
In the following example, there is no IndexError being raised.
example code:
x=numpy.arange(3)
print( 'x[6:9]',x[6:9] )
output:
x[6:9]=[]
Does doing basic indexing in ndarray via slice have build-in boundary check?
In the following example, there is no IndexError being raised.
example code:
x=numpy.arange(3)
print( 'x[6:9]',x[6:9] )
output:
x[6:9]=[]