結果 : python add column to dataframe based on other columns