会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
心有琳系
CnBlogs
Home
New Post
Contact
Admin
Subscription
2017年9月7日
Hello Tornado
Tornado是一个编写对HTTP请求响应的框架。作为程序员,你的工作时编写响应特定条件HTTP请求响应的handler.
Read More
posted @ 2017-09-07 18:53 心有琳系
Views(126)
Comments(0)
Diggs(0)
2017年8月9日
pandas库的数据的基本统计分析
pandas库的数据排序 .sort_index()方法是在指定轴上根据索引进行排序,默认升序。 .sort_index(axis=0,ascending=True)
Read More
posted @ 2017-08-09 18:36 心有琳系
Views(278)
Comments(0)
Diggs(0)
pandas库的数据类型操作
数据类型操作: 如何改变Series和DataFrame对象? 增加或重排:重新索引 .reindex()能够改变或重排Series和DataFrame索引 重新索引: .reindex(index=None,columns=None,......)的参数 1 newc = d.columns.in
Read More
posted @ 2017-08-09 15:01 心有琳系
Views(368)
Comments(0)
Diggs(0)
pandas库的DataFrame类型
Series是pandas库的一维数据类型,DateFrame是pandas库的二维数据类型。 DateFrame类型: DateFrame类型由共用相同索引的一组列组成(DateFrame相当于一个表格),每列值类型可以不同。 DateFrame既有行索引,也有列索引。 DateFrame常用于表
Read More
posted @ 2017-08-09 13:52 心有琳系
Views(1425)
Comments(0)
Diggs(0)
2017年8月8日
pyplot直方图的绘制
plt.hist()
Read More
posted @ 2017-08-08 17:54 心有琳系
Views(999)
Comments(0)
Diggs(0)
pyplot饼图绘制
plt.pie()
Read More
posted @ 2017-08-08 17:28 心有琳系
Views(340)
Comments(0)
Diggs(0)
pyplot的文本显示
plt.annotate(s,xy=arrow_crd,xytext=text_crd,arrowprops=dict)
Read More
posted @ 2017-08-08 16:32 心有琳系
Views(558)
Comments(0)
Diggs(0)
pyplot的中文显示
pyplot的中文显示:第一种方法 pyplot并不默认支持中文显示,需要rcParams修改字体实现。 pyplot的中文显示:第二种方法(建议使用) 在有中文输出的地方,增加一个属性:fontproperties
Read More
posted @ 2017-08-08 15:40 心有琳系
Views(2503)
Comments(0)
Diggs(0)
集合
集合:集合是没有顺序的概念。所以不能用切片和索引操作。 1、创建集合。set():可变的。frozenset():不可变的。 2、添加操作:add,update 3、删除 remove b.remove() 4、成员关系 in,not in 5、交集、并集、差集 & | - 6、集合去重 列表元素重
Read More
posted @ 2017-08-08 00:06 心有琳系
Views(106)
Comments(0)
Diggs(0)
2017年8月7日
NumPy数据存取与函数
一、数据的CSV文件存取 CSV文件: CSV(Comma-Separated Value,逗号分隔值) CSV是一种常见的文件格式,用来存储批量数据。 将数据写入CSV文件的方法是savetxt np.savetxt(frame,array,fmt='%.18e',delimiter=None)
Read More
posted @ 2017-08-07 17:56 心有琳系
Views(377)
Comments(0)
Diggs(0)
下一页
公告
点击右上角即可分享