Skip to content

Glossary: pandas Beyond the Basics

expanding

Also written: .expanding(), expanding window

A window that starts at the first row and grows with each row. `expanding().max()` gives the record so far.

Where the book teaches it

Related terms

Rolling windowcumsum