pandas遍历行,不同于apply,适用于一些复杂场景
for index, row in df.iterrows():
df.loc[index,'deltaLoad']=_calc_deltaLoad(row['deltaTmp'],row['today_mean_tmp'])
for index, row in df.iterrows():
df.loc[index,'deltaLoad']=_calc_deltaLoad(row['deltaTmp'],row['today_mean_tmp'])