Slicing arrays in Numpy / Scipy

前端 未结 3 801
栀梦
栀梦 2020-12-03 13:54

I have an array like:

a = array([[1,2,3],[3,4,5],[4,5,6]])

What\'s the most efficient way to slice out a 1x2 array out of this that has onl

3条回答
提交回复
热议问题