1.1 安裝python
????python安裝方法,這里推薦直接安裝anaconda,因為anaconda集成了很多python的庫,后期調(diào)用比較方便。
1.2 python基本用法
? ? 1.2.1 控制語句
? ? python的控制語句主要有三種:if窟感, for 和while (https://python.swaroopch.com/control_flow.html)
? ? ? ? 1.2.1.1 if
if else語句
? ? ? ? 1.2.1.2 for
for 語句
? ? ? ? 1.2.1.3 while
while語句
? ? 1.2.2 函數(shù)
函數(shù)
? ? 1.2.3 文件讀取
讀寫文件
1.3. Python基本數(shù)據(jù)結構
幾種數(shù)據(jù)類型:list, tuple, dictionary, set
? ? 1.3.1 list
list
? ? 1.3.2 tuple
tuple
? ? 1.3.3 Dictionary
Dictionary
? ? 1.3.4 Set
Set
2. Pandas 簡介
? ? 2.1 Pandas 安裝
import pandas
? ? 2.2 Pandas 數(shù)據(jù)結構
? ? 常用的兩種Series和DataFrame
? ? ????2.2.1 Series
????????2.2.2 DataFrame
參考書目及鏈接:
1.?https://flyouting.gitbooks.io/learn-python-the-hard-way-cn/learn-python-the-hard-way-exercise39.html
2.?https://python.swaroopch.com/data_structures.html
3. 《Python for Data Analysis》