pandas · Lesson 5.3 · Pro
transform
Bring a group's number back onto every row, for shares of a group and comparisons with the group average.
In this lesson
- A group value on every row
- Share of the group
- Compare with the group average
- Number rows within a group
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.