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

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -