Intro to Python
手册内容分为python编程核心、Numpy基础、Pandas基础三大部分,涵盖数据、量化交易策略研究及回测编程中使用的核心python代码。
手册编写时使用python及相关模块版本:
- python:python3.7
- numpy:numpy1.13.3
- pandas: pandas0.24.0
手册使用过程中应注意一下注意事项:
- 手册以代码作用进行标题命名及标题级别划分,如(1)加法表明代码作用为加法,该小节归属于2 python编程核心部分2.1基本运算符中的2.1.1算数运算符小节。可根据需要实现的需求在目录中查找相应的代码。
- 在jupyter notebook中,可用
ctrl
+f
对所需代码或需求进行查找。 - 对于代码示例中的函数或方法,本手册对其运行逻辑、常用参数、常用代码示例进行了介绍,对于较容易理解的代码,其部分说明内容被进行了一定省略。如无法满足使用需求,可在notebook环境下使用help函数查看更具体的说明(运行help函数会在notebook当前cell下返回被查询对象的说明文档)。