matplotlib模块 06
摘要:matplotlib模块 In [10]: import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties 修改字体 最
阅读全文
posted @
2020-03-05 01:05
jueyuanfengsheng
阅读(1283)
推荐(0) 编辑
numpy模块 02
摘要:numpy学习 In [121]: import numpy as np 为啥使用numpy¶ 计算购物车的总共价格¶ In [2]: shop_car = [2,3,10,5] shop_price = [10,200,150,50] In [3]: shop_car_np = np.array(
阅读全文
posted @
2020-03-03 18:51
jueyuanfengsheng
阅读(129)
推荐(0) 编辑
Pandas模块 04
摘要:test_pandas In [6]: import numpy as np 为啥使用numpy¶ 计算购物车的总价格¶ In [15]: l1=[2,3,10,5] l2=[10,200,150,50] In [8]: l1_np = np.array(l1) l2_np = np.array(l
阅读全文
posted @
2020-03-03 18:39
jueyuanfengsheng
阅读(179)
推荐(0) 编辑
数据分析介绍及软件使用 01
摘要:[TOC] 数据分析介绍 以前使用的语言是R语言来进行数据分析的,BI(商业智能部),现在有了Python语言,其语法简洁,写的代码量非常少,现在有转向Python的趋势。 数据的来源 公司足够大,那每天产生的数据(nginx日志数据),就足够我们分析使用(10TB); 买数据,天眼查(50W个公司
阅读全文
posted @
2020-03-02 21:59
jueyuanfengsheng
阅读(275)
推荐(0) 编辑
pandas 模块 05
摘要:[TOC] pandas 模块 1.pandas生成表格 2.生成数组 3.操作文件 保存文件 读出文件 行索引index和列索引columns和元素values 对文件数据读改 按照列索引取值 按照行索引取值 切片取值 取单个元素
阅读全文
posted @
2019-10-05 21:07
jueyuanfengsheng
阅读(179)
推荐(0) 编辑
matplotlib 模块 07
摘要:[TOC] matplotlib 模块 1.条形图 2.直方图 .bmp) 3.折线图 4.散点图+直线图 5.饼图 6. plot 函数参数 线型linestyle( , ., ,..) 点型marker(v,^,s, ,H,+,x,D,o,....) 颜色color(b,g,r,y,
阅读全文
posted @
2019-10-05 12:59
jueyuanfengsheng
阅读(291)
推荐(0) 编辑
numpy模块 03
摘要:[TOC] numpy 模块 1.numpy 模块介绍 numpy是Python的一种开源的数值扩展库,这种库可用来存储和处理大型numpy数组比Python自身的嵌套列表结构要高效的多(该结构也可以用来表示numpy数组)。 numpy库有两个作用: 1.区别于list列表,提供了数组操作、数
阅读全文
posted @
2019-10-04 00:44
jueyuanfengsheng
阅读(128)
推荐(0) 编辑