官方文档 1. 安装Pandas windos下cmd:pip install pandas 导入pandas包:import pandas as pd 2. Series对象 带索引的一维数组 创建: s = pd.Series([12,-4,7,9]) print (s) 0 12 1 -4 2 7 3 9 dtype: int64 s = pd.Series([12,-4,7,9], index = ['a', 'b', 'c', 'd']) print (s) a 12 b -4 c 7…