結果 : python dataframe sum rows based on condition