更多函数查阅http://pandas.pydata.org/pandas-docs/stable/10min.htmlimport pandas as pd#两种数据结构from pandas import Series,DataFrame #Series由一组数据和一组索引组成# obj=Series([2,3,5,7,3,1])# print(obj) #建立Series的时候指定索引# obj2=Series([1,2,3,4,5],index=['a','b','c','d','e']…