apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt1.9 KBEverything the tutorial prints, cell by cell
raw/results/results_shot01.md1.1 KBone 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.md1.1 KBInput file the tutorial opens
raw/results/results_shot03.md1.1 KBInput file the tutorial opens
raw/results/results_shot04.md1.1 KBInput file the tutorial opens
raw/results/results_shot05.md1.1 KBInput file the tutorial opens
raw/results/results_shot06.md1.1 KBInput file the tutorial opens
raw/results/results_shot07.md1.1 KBInput file the tutorial opens
raw/results/results_shot08.md1.1 KBInput file the tutorial opens
raw/results/results_shot09.md1.1 KBInput file the tutorial opens
raw/results/results_shot10.md1.1 KBInput file the tutorial opens
raw/shot_log.csv236 B10 rowsthe 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

shotfilemade
1results_shot01.md1
2results_shot02.md1
3results_shot03.md0
4results_shot04.md1
5results_shot05.md1
6results_shot06.md0
7results_shot07.md1
8results_shot08.md0

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/