通过pandas数据帧逐行迭代

peo*_*ent 135 python pandas

我正在寻找通过熊猫逐行迭代DataFrame.我到目前为止的方式如下:

for i in df.index:
    do_something(df.ix[i])
Run Code Online (Sandbox Code Playgroud)

是否有更高性能和/或更惯用的方式来做到这一点?我知道应用,但有时使用for循环更方便.