# Tutorial Q-12: Find and mark the missing values without deleting anything

Find empty cells, zero codes and gaps in time in one of the instructor's watch files, mark each with a reason in a copy that keeps every row, and see where the missing values cluster.

Address: https://apopt.com/data/tutorials/q12-missing-values/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *Find and mark the missing values without deleting anything* (https://apopt.com/course/tutorials/q12-missing-values/). `raw/` holds the inputs as the device or app wrote them; `clean/` holds the cleaned copies the tutorial writes; `expected/` holds what a correct run prints and saves, so you can check your own run.

## Files

| file | size | rows | description |
|---|---|---|---|
| [clean/missing_log.csv](https://apopt.com/data/tutorials/q12-missing-values/clean/missing_log.csv) | 324 B | 12 rows | Cleaned copy written by the tutorial |
| [clean/run_marked.csv](https://apopt.com/data/tutorials/q12-missing-values/clean/run_marked.csv) | 386.0 KB | 3,746 rows | Cleaned copy written by the tutorial |
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q12-missing-values/expected/printed-output.txt) | 847 B |  | Everything the tutorial prints, cell by cell |
| [raw/2026-05-11_1507_running.csv](https://apopt.com/data/tutorials/q12-missing-values/raw/2026-05-11_1507_running.csv) | 282.5 KB | 3,746 rows | one second-by-second record of a 10.5 km run (3,746 rows, 12 columns) with empty cells, zero codes and pauses |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 4: Athlete Data in Python](https://apopt.com/book/ch04-python/)
- Course: [Week 4 lesson](https://apopt.com/course/week/4/)
- Homework H08: [https://apopt.com/course/assess/h08/](https://apopt.com/course/assess/h08/)
- Homework H09: [https://apopt.com/course/assess/h09/](https://apopt.com/course/assess/h09/)

## How to cite

Tutorial Q-12: Find and mark the missing values without deleting anything. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q12-missing-values/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q12-missing-values/raw/2026-05-11_1507_running.csv")
```
