Skip to content
masterclass Buddy

Pandas · Method

df.pipe

DataFrame.pipe sends a DataFrame through a function and returns that function's result. It helps write several DataFrame transformations as a readable chain.

Last updated

Syntax

DataFrame.pipe(func, *args, **kwargs)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • DataFrame.apply
  • DataFrame.map
  • Series.map

Source: pandas.DataFrame.pipe — pandas 3.2.0.dev0 documentation. Checked 2026-11-03.