numpy转换

 

csv2npy

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

 

buf2npy

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

posted @ 2015-12-25 08:59  ahuo  阅读(382)  评论(0编辑  收藏  举报