--- title: rolling description: Learn the usage, parameters and practical details of the rolling function, a vital Python tool for calculating the rolling mean and standard deviation. keywords: - Rolling function - Mean calculation - Standard deviation - Programming tools - Window length parameter - Usage example - Data visualization --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Rolling mean and std deviation ### Usage ```python rolling [-w N_WINDOW] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | n_window | Window length | 14 | True | range(5, 100) | ![rolling](https://user-images.githubusercontent.com/46355364/154308175-bb244d55-a6e0-4d6e-80f4-b3937dcd8ed4.png) ---