I have a dataframe and i want to group its "First" and "Second" column and then to produce the expected output as mentioned below:
df = pd.Dat