# Sample Size

*noun*

say it: **“SAM-pul SIZE”** **/ˈsæmpəl ˈsaɪz/**

How many observations or measurements a result is based on.

## What is **sample size**?

**Sample size** is how many observations a number rests on, such as the 18 class sessions behind a no-show rate.
The smaller it is, the further a few rows can move the number, so a report says how many rows each finding comes from.

```python
classes.groupby("category")["class_id"].count()   # how many sessions each category's numbers rest on
```

## In a sentence

- “With a small **sample size**, two missing people changed the rate a lot.”
- “The no-show rate had a **sample size** of only 18 sessions.”

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

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/sample-size
