list a=[[1,2,3], [4,5,6]] a[:, 0] # 尝试用数组的方法读取一列失败 TypeError: list indices must be integers or slices, not tuple numpy array 转为array即可 a = np.array(a) a[:, 0] array([1, 4]) array转list a.tolist()