📜  pandas.core.frame.DataFrame 到 pandas.core.series.Series - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:46.376000             🧑  作者: Mango

代码示例2
>>> df = pd.DataFrame([list(range(5))], columns=["a{}".format(i) for i in range(5)])
>>> df
   a0  a1  a2  a3  a4
0   0   1   2   3   4
>>> df.iloc[0]
a0    0
a1    1
a2    2
a3    3
a4    4
Name: 0, dtype: int64
>>> type(_)