Data / tutorials / q04-small-table
Tutorial Q-4: Type a small table and plot it
Tutorial
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.
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 | What it is |
|---|---|---|---|
| clean/step_test_sheet.csv | 298 B | 8 rows | Cleaned copy written by the tutorial |
| expected/printed-output.txt | 827 B | Everything the tutorial prints, cell by cell | |
| 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) |
Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.
Preview of raw/steptest_counts.csv
| label | time_s | t_mid_s | rate_cpm | power_W | count15 | hr_bpm |
|---|---|---|---|---|---|---|
| stage 1 | 300 | 309.5 | 15 | 51.5 | 24 | 96 |
| stage 2 | 500 | 509.5 | 20 | 68.7 | 27 | 108 |
| stage 3 | 700 | 709.5 | 25 | 85.8 | 31 | 124 |
| recovery 1 min | 760 | 767.5 | 0 | 0.0 | 22 | 88 |
| recovery 2 min | 820 | 827.5 | 0 | 0.0 | 21 | 84 |
| recovery 3 min | 880 | 887.5 | 0 | 0.0 | 19 | 76 |
| recovery 4 min | 940 | 947.5 | 0 | 0.0 | 19 | 76 |
| recovery 5 min | 1000 | 1007.5 | 0 | 0.0 | 20 | 80 |
First 8 of 8 rows.
Where it came from
- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission: Published with the course under CC BY 4.0
- Prepared with:
dda/tutorials/build.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q04-small-table/raw/steptest_counts.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q04-small-table/raw/steptest_counts.csv")).text();Or download load.py / load.js.
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/