Data / tutorials / q29-ten-trials
Tutorial Q-29: Median and spread of ten trials
Tutorial
Read ten results files into one table and describe each metric with a median and a robust spread, and see what one low shot does to the mean.
Files for the tutorial Median and spread of ten trials (https://apopt.com/course/tutorials/q29-ten-trials/). 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 |
|---|---|---|---|
| expected/printed-output.txt | 1.9 KB | Everything the tutorial prints, cell by cell | |
| raw/results/results_shot01.md | 1.1 KB | one of ten SYNTHETIC basketball results files (results_shot01.md to results_shot10.md) in the layout of the apps' text results, made with a fixed random seed | |
| raw/results/results_shot02.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot03.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot04.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot05.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot06.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot07.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot08.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot09.md | 1.1 KB | Input file the tutorial opens | |
| raw/results/results_shot10.md | 1.1 KB | Input file the tutorial opens | |
| raw/shot_log.csv | 236 B | 10 rows | the SYNTHETIC made-or-missed log, one row per shot |
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/shot_log.csv
| shot | file | made |
|---|---|---|
| 1 | results_shot01.md | 1 |
| 2 | results_shot02.md | 1 |
| 3 | results_shot03.md | 0 |
| 4 | results_shot04.md | 1 |
| 5 | results_shot05.md | 1 |
| 6 | results_shot06.md | 0 |
| 7 | results_shot07.md | 1 |
| 8 | results_shot08.md | 0 |
First 8 of 10 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/q29-ten-trials/raw/shot_log.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q29-ten-trials/raw/shot_log.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-29: Median and spread of ten trials. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q29-ten-trials/