{ "cells": [ { "cell_type": "markdown", "id": "3af041f8", "metadata": {}, "source": [ "# 2018 / 2019\n", "\n", "Progress points for the EFL League Two 2018 / 2019 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "8c656d63", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:47.598849Z", "iopub.status.busy": "2025-11-03T19:54:47.598729Z", "iopub.status.idle": "2025-11-03T19:54:47.888238Z", "shell.execute_reply": "2025-11-03T19:54:47.887848Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2018\n", "league = \"E3\"" ] }, { "cell_type": "markdown", "id": "948dbcff", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "f4aaccf0", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:47.889850Z", "iopub.status.busy": "2025-11-03T19:54:47.889639Z", "iopub.status.idle": "2025-11-03T19:54:49.625601Z", "shell.execute_reply": "2025-11-03T19:54:49.625259Z" } }, "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": "06fd1566", "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": "343ecd27", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:49.627583Z", "iopub.status.busy": "2025-11-03T19:54:49.627460Z", "iopub.status.idle": "2025-11-03T19:54:49.902631Z", "shell.execute_reply": "2025-11-03T19:54:49.902155Z" } }, "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": "d071aab4", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "0775b9d1", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:49.904695Z", "iopub.status.busy": "2025-11-03T19:54:49.904562Z", "iopub.status.idle": "2025-11-03T19:54:50.162773Z", "shell.execute_reply": "2025-11-03T19:54:50.162367Z" } }, "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": "ea8b522d", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "de44793d", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:50.164843Z", "iopub.status.busy": "2025-11-03T19:54:50.164714Z", "iopub.status.idle": "2025-11-03T19:54:50.452470Z", "shell.execute_reply": "2025-11-03T19:54:50.451997Z" } }, "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 }