摘要: # numpy的数据类型,类型转换,占用内存字节数f64 = numpy.float64(42)print(f64, type(f64), f64.dtype, f64.dtype.itemsize)i8 = numpy.int8(42.0)print(i8, type(i8), i8.dtype, 阅读全文
posted @ 2017-11-16 13:19 魏桐 阅读(3045) 评论(0) 推荐(2) 编辑