Skip to content

Glossary: pandas Beyond the Basics

filter

Also written: groupby filter, .filter()

A groupby method that calls your function once per group and keeps every row of the groups where it returns True. Priya could use it to keep customers with three or more orders.

Where the book teaches it

Related terms

Lambdatransformapply