Glossary: pandas Beyond the Basics
transform
Also written: .transform()
A groupby method that calculates a group result but returns it lined up with the original rows, so every row gets its own group's value. It is how you compare a row with its group.