Series 功能:数组前面自动添加序号index >>> import pandas as pd # 导入pandas模块 s = pd.Series([1,2,3,4]) s > 0 1 1 2 2 3 3 4 dtype: int64 >>> s.index > RangeIndex(start