How to remove first element from every sub-array in 2-Dimentional class numpy.ndarray in Python -


i have numpy.ndarray -

[[1,2,3],[-7,7,2],[2,-3,4]]

i want remove first element of each array , convert

[[2,3],[7,2],[-3,4]]

is there function can this, rather having use explcit for loop?


Comments

Popular posts from this blog

ios - Assigning a value out of array of arrays, using section in Xcode -

javascript - Website analyzer -