文章分类 -  python-c-数据分析

摘要:matplotlib 介绍 In [20]: plt.plot? # 帮助文档 Signature: plt.plot(*args, **kwargs) Docstring: Plot y versus x as lines and/or markers. Call signatures:: plo 阅读全文
posted @ 2018-11-11 17:09 Alice的小屋 阅读(108) 评论(0) 推荐(0) 编辑
摘要:pandas: 数据分析核心工具包 简介 一维数据对象 In [324]: import pandas as pd In [325]: pd.Series([2,3,4,5]) Out[325]: 0 2 1 3 2 4 3 5 dtype: int64 In [326]: pd.Series([2 阅读全文
posted @ 2018-11-11 15:42 Alice的小屋 阅读(116) 评论(0) 推荐(0) 编辑
摘要:numpy pip3 install numpy ipython 例一: In [1]: import numpy as np In [2]: import random In [3]: a = [random.uniform(100.0,200.0) for i in range(50)] In 阅读全文
posted @ 2018-11-11 15:23 Alice的小屋 阅读(80) 评论(0) 推荐(0) 编辑
摘要:jupyter https://jupyter-notebook.readthedocs.io/en/stable/public_server.html web版的ipython: pip3 install jupyter ..>>jupyter notebook web版的ipython: 阅读全文
posted @ 2018-11-11 14:57 Alice的小屋 阅读(102) 评论(0) 推荐(0) 编辑
摘要:ipython (anacoda) - (集成了) ipython pip3 install ipython ipython 练习 In [20]: 1+2 Out[20]: 3 In [40]: a Out[40]: [1, 2, 3] In [41]: a.__**? a.__add__ a._ 阅读全文
posted @ 2018-11-11 14:45 Alice的小屋 阅读(88) 评论(0) 推荐(0) 编辑
摘要:金融: 股票: A股、B股、H股、N股、 S股 股票市场: 影响股价的因素: 公司自身因素、行业因素、市场因素、心里因素、经济因素、政治因素 金融分析: 量化: 量化投资实际上就是分析数据从而作出决策的过程。 python 数据处理相关模块: NumPy: 数组批量计算 pandas: 灵活的表计算 阅读全文
posted @ 2018-11-11 14:38 Alice的小屋 阅读(85) 评论(0) 推荐(0) 编辑