![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
ass7798
这个作者很懒,什么都没留下…
展开
-
python中str与list效率对比
list 效率低于str原创 2016-07-29 12:57:01 · 537 阅读 · 0 评论 -
python pandas 基本使用,sklearn的10种分类器实践
由于最近代码任务不多,就想把pandas的日常使用和sklearn的建模使用更加规范和熟练,因此就以泰坦尼克的相关数据集为测试数据进行分析。选择了 glm tree svm RandomForest knn lda qda gauss naive bayes neural_network adaboost(tree)原创 2017-11-09 15:35:55 · 1717 阅读 · 0 评论 -
python matplot 解决不能输出中文的问题
python中的matplotlib仅支持Unicode编码,默认是不显示中文的,如果让其默认显示中文,有下面3种方法:1.最简单的方法 全局设置中文字体(推荐)# -*- coding: utf-8 -*-import matplotlib.pyplot as pltfrom pylab import mplmpl.rcParams['font.sans-serif'] = ['原创 2018-01-17 16:57:39 · 4494 阅读 · 2 评论