天驭学院 · 教学材料 · Python Quant Trading Lab
Text walkthrough
Pandas 基础
A self-paced text walkthrough, without video or audio. See the article below for worked examples and materials.
Course Notes
In "Python Quant Trading Lab" → "Python 金融数据处理", this lesson "Pandas 基础" builds knowledge you can apply immediately.
Pandas的Series是带索引的一列,DataFrame组织多列;按标签与按位置选择不同。时间索引须排序且唯一,不能用行号冒充交易时间。 读CSV→查看列名/类型/行数→解析UTC→排序去重→设置索引→只选择需要列;保留原始文件和清洗报告。 本课作业:运行pandas_lab.py,另用三行close=100/102/101写出行数、首个收益缺失原因和最后SMA2。
These points align with the video walkthrough—take notes as you watch.
After studying, complete the companion practice lesson to move from understanding to doing.
Key Takeaways
完成标记仅记录个人学习,不代表能力认证。练习使用教学假设或合成数据,不要求真实开户、入金或交易。