Skip to content

Glossary: pandas Beyond the Basics

pipe

Also written: .pipe()

A method that puts your own function into a method chain: `df.pipe(f, x)` means `f(df, x)` but reads in order. It is used for reusable steps like `add_quarter` and checks like `require_clean`.

Where the book teaches it

Related terms

Method chainassign