{ "cells": [ { "cell_type": "markdown", "id": "cf656a1f", "metadata": {}, "source": [ "# 2021 / 2022\n", "\n", "Progress points for the EFL League One 2021 / 2022 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "dd43c20b", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:16.144082Z", "iopub.status.busy": "2025-11-03T19:56:16.143959Z", "iopub.status.idle": "2025-11-03T19:56:16.437223Z", "shell.execute_reply": "2025-11-03T19:56:16.436783Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2021\n", "league = \"E2\"" ] }, { "cell_type": "markdown", "id": "e31e876e", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "a26ccfcf", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:16.438722Z", "iopub.status.busy": "2025-11-03T19:56:16.438565Z", "iopub.status.idle": "2025-11-03T19:56:18.243873Z", "shell.execute_reply": "2025-11-03T19:56:18.243403Z" } }, "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": "50cea348", "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": "c9495ae4", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:18.245903Z", "iopub.status.busy": "2025-11-03T19:56:18.245777Z", "iopub.status.idle": "2025-11-03T19:56:18.540708Z", "shell.execute_reply": "2025-11-03T19:56:18.540209Z" } }, "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": "ccf6d906", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "1da967b9", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:18.542728Z", "iopub.status.busy": "2025-11-03T19:56:18.542599Z", "iopub.status.idle": "2025-11-03T19:56:18.826824Z", "shell.execute_reply": "2025-11-03T19:56:18.826379Z" } }, "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": "3c57616e", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "ed78042a", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:18.828768Z", "iopub.status.busy": "2025-11-03T19:56:18.828642Z", "iopub.status.idle": "2025-11-03T19:56:19.114978Z", "shell.execute_reply": "2025-11-03T19:56:19.114517Z" } }, "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 }