python tolist ()方法,将数组或者矩阵转换成列表,如下:>>>fromnumpyimport*>>>a1=[[1,2,3],[4,5,6]]#列表>>>a2=array(a1)#数组>>>a2array([[1,2,3] ...
確定! 回上一頁