For example I have array arr1 and I want to take a row range of this array as below, what function can I use?
arr1:
array([[ 1, 1, 1],
[ 2, 2, 2],
[ 3, 3, 3],
[ 4, 4, 4],
[ 5, 5, 5],
[ 6, 6, 6],
[ 7, 7, 7],
[ 8, 8, 8],
[ 9, 9, 9],
[10, 10, 10],
[11, 11, 11],
[12, 12, 12],
[13, 13, 13],
[14, 14, 14]])
Remove lines 1 through 5 from arr1
array([[ 6, 6, 6],
[ 7, 7, 7],
[ 8, 8, 8],
[ 9, 9, 9],
[10, 10, 10],
[11, 11, 11],
[12, 12, 12],
[13, 13, 13],
[14, 14, 14]])
Remove lines 6 through 10 from arr1
array([[ 1, 1, 1],
[ 2, 2, 2],
[ 3, 3, 3],
[ 4, 4, 4],
[ 5, 5, 5],
[11, 11, 11],
[12, 12, 12],
[13, 13, 13],
[14, 14, 14]])
Remove rows from 11 to 14 of arr1
array([[ 1, 1, 1],
[ 2, 2, 2],
[ 3, 3, 3],
[ 4, 4, 4],
[ 5, 5, 5],
[ 6, 6, 6],
[ 7, 7, 7],
[ 8, 8, 8],
[ 9, 9, 9],
[10, 10, 10]])