Domanda di colloquio di Lumen

Python Pandas question to manipulate the data SQL Group by the question