{
"cells": [
{
"cell_type": "markdown",
"id": "761d6c0d",
"metadata": {},
"source": [
"# 2021 / 2022\n",
"\n",
"Progress points for the EFL League Two 2021 / 2022 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "ea0dbe4c",
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-03T19:55:04.797866Z",
"iopub.status.busy": "2025-11-03T19:55:04.797747Z",
"iopub.status.idle": "2025-11-03T19:55:05.126968Z",
"shell.execute_reply": "2025-11-03T19:55:05.126484Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 2021\n",
"league = \"E3\""
]
},
{
"cell_type": "markdown",
"id": "bb2afede",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "455d26c8",
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-03T19:55:05.128546Z",
"iopub.status.busy": "2025-11-03T19:55:05.128374Z",
"iopub.status.idle": "2025-11-03T19:55:06.925061Z",
"shell.execute_reply": "2025-11-03T19:55:06.924400Z"
}
},
"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": "749bc1dc",
"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": "b8dff143",
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-03T19:55:06.927236Z",
"iopub.status.busy": "2025-11-03T19:55:06.927103Z",
"iopub.status.idle": "2025-11-03T19:55:07.218885Z",
"shell.execute_reply": "2025-11-03T19:55:07.218360Z"
}
},
"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": "2d545dcc",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "4d56ae33",
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-03T19:55:07.221126Z",
"iopub.status.busy": "2025-11-03T19:55:07.220998Z",
"iopub.status.idle": "2025-11-03T19:55:07.500961Z",
"shell.execute_reply": "2025-11-03T19:55:07.500510Z"
}
},
"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": "f6566ddf",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "bd5ab9e9",
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-03T19:55:07.502922Z",
"iopub.status.busy": "2025-11-03T19:55:07.502792Z",
"iopub.status.idle": "2025-11-03T19:55:07.793805Z",
"shell.execute_reply": "2025-11-03T19:55:07.793392Z"
}
},
"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": "off"
}
},
"nbformat": 4,
"nbformat_minor": 5
}