# CASE1 df for 구문 iterrows사용 이건 0.25초
_load_updateRTCBJ_time = time.time()
for _ind, row in sim_que_225d_df.iloc[0:500].iterrows():
# print(_ind, row)
pass
print(time.time() - _load_updateRTCBJ_time)
# CASE2 df for 구문 index 사용 이건 0.9초
_load_updateRTCBJ_time = time.time()
for _ind in sim_que_225d_df.iloc[0:500].index:
print(_ind, row)
pass
print(time.time() - _load_updateRTCBJ_time)
0 댓글