python中的列表与数组转换

python中的列表与数组转换

将列表转换成数组或者数组转换成列表,操作如下(使用函数array 和 tolist):from numpy import * listS = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [20, 30
Python130