说如果我有
s=np.zeros((5,5))
array([[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.]]) #which is an ndarray
s2=[s[ix,1] for ix in range(2,5)],[s[ix2,1] for ix2 in range(2,5)]
([0.0, 0.0, 0.0], [0.0, 0.0, 0.0]) #which is a tuple
如何将 s2 变成数组或 ndarray?先感谢您。