牛二的梦想  

2019年2月23日

摘要: 原计划:导入一个csv文件,然后算出平均值 import numpy as np c=np.loadtxt('d:\python36\data.csv', delimiter=',', usecols=(2,), unpack=True) print ("median =", np.median(c 阅读全文
posted @ 2019-02-23 16:03 牛二的梦想 阅读(2820) 评论(0) 推荐(1) 编辑
 
摘要: I am trying to load data with numpy.loadtxt... The file im trying to read is using cp1252 coding. Is there a possibility to change the encoding to cp1 阅读全文
posted @ 2019-02-23 12:10 牛二的梦想 阅读(2476) 评论(0) 推荐(1) 编辑