📜  pandas 将每一行更改为 df - Python 代码示例

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

代码示例1
for i, row in df.iterrows():
    ifor_val = something
    if :
        ifor_val = something_else
    df.at[i,'ifor'] = ifor_val