結果 : how to loop over a dataframe in python