Skip to content

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.

Where the book teaches it

Related terms

filterapplycumcount