# Tutorial Q-4: Type a small table and plot it

Type a step test's paper sheet into a pandas table, add heart rate and lifting power, check every value against the file with assert, and draw one chart of heart rate through the test.

Address: https://apopt.com/data/tutorials/q04-small-table/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *Type a small table and plot it* (https://apopt.com/course/tutorials/q04-small-table/). `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/step_test_sheet.csv](https://apopt.com/data/tutorials/q04-small-table/clean/step_test_sheet.csv) | 298 B | 8 rows | Cleaned copy written by the tutorial |
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q04-small-table/expected/printed-output.txt) | 827 B |  | Everything the tutorial prints, cell by cell |
| [raw/steptest_counts.csv](https://apopt.com/data/tutorials/q04-small-table/raw/steptest_counts.csv) | 338 B | 8 rows | the same sheet as a file, eight 15-second pulse counts from a three-stage step test and five minutes of recovery (synthetic) |

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 2: The Athlete as a System](https://apopt.com/book/ch02-system/)
- Course: [Week 2 lesson](https://apopt.com/course/week/2/)
- Homework H04: [https://apopt.com/course/assess/h04/](https://apopt.com/course/assess/h04/)

## How to cite

Tutorial Q-4: Type a small table and plot it. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q04-small-table/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q04-small-table/raw/steptest_counts.csv")
```
