Pergunta de entrevista da empresa Pinterest

Python/Pandas: Given a df find the category with highest avg time spent