Skip to content

Glossary: pandas Beyond the Basics

apply

Also written: .apply()

The most general tool: it runs your own function once per value or once per group and glues the results together. It runs Python code each time, so prefer `agg` or `transform` when they can do the job.

Where the book teaches it

Related terms

transformfilterLambda