Question:I have a dataframe ‘merged_df’ that looks like this:
I am interested in the columns, ‘login_id’ & ‘volume’, but there are many duplicate entries in the ‘login_id’ column. I want to make another dataframe with unique ‘login_id’ and the sum of ‘volume’ for each unique ‘login_id’.
Answer:Will this get you what you want?
If you have better answer, please add a comment about this, thank you!