numpy数组与list之间的转换a=([3.234,34,3.777,6.33])a为python的list类型将a转化为numpy的array: np.array(a)array([ 3.234, 34. , 3.777, 6.33 ]) 将a转化为python的lista.tolist()