我想绕过系列索引
In [44]: type(ed1)
Out[44]: pandas.core.series.Series
In [43]: for _, row in ed1.iterrows():
...: print(row.name)
Run Code Online (Sandbox Code Playgroud)
我得到错误:
AtributeError: 'Series' ojbect has no attribute 'iterrows'
Run Code Online (Sandbox Code Playgroud)
系列是否有类似迭代的方法?非常感谢