numpy转换

 

csv2npy

cccsv=numpy.genfromtxt('/root/c.csv', delimiter = ',')

 

buf2npy

imga=numpy.frombuffer(buf,numpy.uint8)

你可能感兴趣的:(numpy转换)