I\'m trying to write a code which should give me a summary of the data provided. There are few problems i\'m facing right now.
When i use the groupby function, i get