In Group and Summarise, groupby split the bakery's deliveries into one pile per city, and .sum() shrank each pile to a single number. pandas has a close relative of those summaries called transform, which takes the same summary names as text. Here are the two side by side on the lesson's table:
1city2Bath 63Leeds 364York 185Name: amount, dtype: int6460 3671 1882 3693 6104 18115 3612Name: amount, dtype: int64
A school fundraiser records how many pounds each pupil raised, and which form they are in. The organiser wants to know what slice of their own form's total each pupil brought in:
What does the last line print?
Select all that apply.