Skip to content

Glossary: pandas Beyond the Basics

Rolling window

Also written: rolling, rolling(), min_periods

A fixed number of rows, or a length of time like "7D", sliding down the data one row at a time. `min_periods=` lets the result start before the window is full.

Where the book teaches it

Related terms

Moving averageexpanding