牛二的梦想 |
|
||
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 阅读全文
摘要:
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 阅读全文
|
Copyright © 2024 牛二的梦想
Powered by .NET 8.0 on Kubernetes |