
大数据
张亚楠·
昆明理工大学无线通信团队
展开
-
2020-10-24 pandas导入出现错误或者警告解决方案
错误提醒ImportError: Pandas requires version '1.3.7' or newer of 'XlsxWriter' (version '0.9.6' currently installed).出错原因版本较低,需要更新解决方法pip install --upgrade XlsxWriter发现又遇到已安装问题ERROR: Cannot uninstall 'XlsxWriter'. It is a distutils installed project an原创 2020-10-24 17:57:28 · 9875 阅读 · 0 评论 -
pip “Cannot uninstall ‘pip包‘. It is a distutils installed project...“ 解决方法
pip升级更新遇到——包已经安装更新,无法安装的错误ERROR: Cannot uninstall 'XlsxWriter'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall解决方法:忽略已安装的包pip install XlsxWriter --upgra原创 2020-10-24 17:44:33 · 1217 阅读 · 0 评论 -
python脚本性能分析
在进行python开发时需要对python脚本的性能分析,以便对python脚本进行优化,下面使用cProfile和 pstats对python脚本性能分析。cProfile思路1.使用cProfile模块生成脚本执行的统计信息文件2.使用pstats格式化统计信息,并根据需要做排序分析处理1.使用cProfile模块生成脚本执行的统计信息文件python -m cProfile -o analyze_result.txt test.py参数说明:使用模块当做脚本运行:-m cProfile原创 2020-09-23 20:33:40 · 431 阅读 · 0 评论 -
python中关于sklearn 0.18的错误—— cannot import name comb
问题描述ImportError Traceback (most recent call last)<ipython-input-78-534e3eb204d1> in <module>----> 1 from sklearn.cluster import KMeans 2 # data = pd.read_csv(r'C:\Users\Administrator\Desktop\company.csv原创 2020-06-23 09:06:02 · 5082 阅读 · 2 评论 -
一只火鸡带你了解大数据预测(经典)
转自:大虾卢:黑天鹅与大数据预测黑天鹅与大数据预测Esri 中国 卢萌纽约大学特聘教授纳西姆·尼古拉斯·塔勒布有一本代表性的著作《黑天鹅》,认为未来发生的事情是纯随机的,人类要是根据过去的经验去对未来的事情进行预测,那是完全不靠谱的,正如书名所表示的:在发现澳大利亚的黑天鹅之前,17世纪之前的欧洲人认为天鹅都是白色的。但随着第一只黑天鹅的出现,这个不可动摇的信念崩溃了。黑天鹅的存在寓意着不可预测的重大稀有事件,它在意料之外,却又改变一切。人类总是过度相信经验,而不知道一只黑天鹅的出现就足以颠覆一切。转载 2020-06-18 16:26:31 · 595 阅读 · 0 评论