title: Groupby multiple columns and get the sum of two other columns while keeping the first occurrence of every other column
body: <p>I will try to be right to the point. So I have a df with 100 columns, and I want to groupby two of them while getting the sum of another 2 columns. For that matter I already used the groupby + agg function. The problem is that while doing that I still want to keep the remaining 96 columns and by that I'd like to keep the first occurrence of each value for those 96. For that I was thinking something such as dropping duplicates and keep = 'first'.</p>
  <p>I searched for a method that could do that in one action but at this point I'm open to any recommendations you might have.</p>
  <p>Note: I didn't include a sample df and a desired output for a reason as I'd like to try it myself based on a recommendation, I'm not trying to get a solution directly from someone.</p>
  <p>Thanks in advance,</p>