📜  pandas 返回行 - Python 代码示例

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

代码示例4
1.     Selecting data by row numbers (.iloc)
    # myrow = data.iloc[]
     myrow = data.iloc[7]
    myrow = data.iloc[0:9]
    
2.     Selecting data by label or by a conditional statement (.loc)
    # myrow = data.loc[