結果 : how to loop a dataframe in python