{ "cells": [ { "cell_type": "markdown", "id": "a1d42ab9", "metadata": {}, "source": [ "# 2019 / 2020\n", "\n", "Progress points for the EFL League One 2019 / 2020 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "3df4f502", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:04.764408Z", "iopub.status.busy": "2025-11-03T19:56:04.764228Z", "iopub.status.idle": "2025-11-03T19:56:05.091236Z", "shell.execute_reply": "2025-11-03T19:56:05.090850Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2019\n", "league = \"E2\"" ] }, { "cell_type": "markdown", "id": "e218f5ef", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "dc81583c", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:05.093008Z", "iopub.status.busy": "2025-11-03T19:56:05.092824Z", "iopub.status.idle": "2025-11-03T19:56:06.859877Z", "shell.execute_reply": "2025-11-03T19:56:06.859392Z" } }, "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": "cdf400e6", "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": "5ccd7593", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:06.861770Z", "iopub.status.busy": "2025-11-03T19:56:06.861632Z", "iopub.status.idle": "2025-11-03T19:56:07.139970Z", "shell.execute_reply": "2025-11-03T19:56:07.139507Z" } }, "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": "5cab10a7", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "b673f1eb", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:07.141952Z", "iopub.status.busy": "2025-11-03T19:56:07.141817Z", "iopub.status.idle": "2025-11-03T19:56:07.404902Z", "shell.execute_reply": "2025-11-03T19:56:07.404594Z" } }, "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": "65b25509", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "5b055cfd", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:07.406860Z", "iopub.status.busy": "2025-11-03T19:56:07.406730Z", "iopub.status.idle": "2025-11-03T19:56:07.680257Z", "shell.execute_reply": "2025-11-03T19:56:07.679921Z" } }, "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 }