# Standard Deviation

*noun*

say it: **“STAN-derd dee-vee-AY-shun”** **/ˈstændərd ˌdiviˈeɪʃən/**

A number that shows how spread out a set of values is: how far, on average, the values sit from their mean.

## What is the **standard deviation** of a column?

The **standard deviation** says how far values usually sit from their average. A small one means most values are
close to the average; a large one means they're spread out. pandas' `describe()` shows it as `std`, and `std()` gives
it for one column.

```python
import pandas as pd
units = pd.Series([20, 21, 22, 19, 20])
print(units.std().round(2))                          # 1.14: close together
print(pd.Series([2, 40, 5, 50, 3]).std().round(2))   # 23.12: spread out
```

## In a sentence

- “The **standard deviation** of the prices was small, so most items cost about the same.”
- “A large **standard deviation** told her the weekly sales jumped around a lot.”

Level: Journeyman · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=3)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/standard-deviation
