{
"cells": [
{
"cell_type": "markdown",
"id": "f3988588",
"metadata": {},
"source": [
"# 2026 / 2027\n",
"\n",
"Progress points for the Scottish Premiership 2026 / 2027 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "1600692a",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-25T19:23:35.816330Z",
"iopub.status.busy": "2026-08-25T19:23:35.816208Z",
"iopub.status.idle": "2026-08-25T19:23:36.099548Z",
"shell.execute_reply": "2026-08-25T19:23:36.099032Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"\n",
"year = 2026\n",
"league = \"SC0\""
]
},
{
"cell_type": "markdown",
"id": "8ebef8a7",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "462c6807",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-25T19:23:36.101102Z",
"iopub.status.busy": "2026-08-25T19:23:36.100907Z",
"iopub.status.idle": "2026-08-25T19:23:37.046129Z",
"shell.execute_reply": "2026-08-25T19:23:37.045676Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
""
],
"text/plain": [
""
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"proggyleg.autoplot(year, league, which=\"cumulative\");"
]
},
{
"cell_type": "markdown",
"id": "a7b1f23f",
"metadata": {},
"source": [
"## Extrapolated Points\n",
"\n",
"Final points assuming each team continues to score points at the same rate as they have so far."
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "cd3cc7b2",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-25T19:23:37.047553Z",
"iopub.status.busy": "2026-08-25T19:23:37.047424Z",
"iopub.status.idle": "2026-08-25T19:23:37.199040Z",
"shell.execute_reply": "2026-08-25T19:23:37.198625Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
""
],
"text/plain": [
""
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"proggyleg.autoplot(year, league, which=\"extrapolated\");"
]
},
{
"cell_type": "markdown",
"id": "d3b36f3e",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "b9d63927",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-25T19:23:37.200395Z",
"iopub.status.busy": "2026-08-25T19:23:37.200267Z",
"iopub.status.idle": "2026-08-25T19:23:37.316512Z",
"shell.execute_reply": "2026-08-25T19:23:37.316100Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
""
],
"text/plain": [
""
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"proggyleg.autoplot(year, league, which=\"position\");"
]
},
{
"cell_type": "markdown",
"id": "2f7f498a",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "97748957",
"metadata": {
"execution": {
"iopub.execute_input": "2026-08-25T19:23:37.317780Z",
"iopub.status.busy": "2026-08-25T19:23:37.317656Z",
"iopub.status.idle": "2026-08-25T19:23:37.478879Z",
"shell.execute_reply": "2026-08-25T19:23:37.478332Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
""
],
"text/plain": [
""
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"proggyleg.autoplot(year, league, which=\"form\");"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3"
},
"mystnb": {
"execution_mode": "force"
}
},
"nbformat": 4,
"nbformat_minor": 5
}