0

I have dataframe as shown below:

enter image description here

I need to transform the data set to something shown below.

enter image description here

I have tried to use groupby condition with agg as max. But it is not working as expected.

Could you please help with a python pandas code for the same?

Akash
  • 39
  • 5

0 Answers0