{ "cells": [ { "cell_type": "markdown", "id": "bb2fc4f9", "metadata": {}, "source": [ "# 2022 / 2023\n", "\n", "Progress points for the EFL League One 2022 / 2023 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "17a5bc4d", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:21.930519Z", "iopub.status.busy": "2025-11-03T19:56:21.930403Z", "iopub.status.idle": "2025-11-03T19:56:22.234790Z", "shell.execute_reply": "2025-11-03T19:56:22.234316Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2022\n", "league = \"E2\"" ] }, { "cell_type": "markdown", "id": "603bf018", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "9425f771", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:22.236210Z", "iopub.status.busy": "2025-11-03T19:56:22.236056Z", "iopub.status.idle": "2025-11-03T19:56:23.994795Z", "shell.execute_reply": "2025-11-03T19:56:23.994354Z" } }, "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": "7e427a1a", "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": "4ed06bc0", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:23.996879Z", "iopub.status.busy": "2025-11-03T19:56:23.996754Z", "iopub.status.idle": "2025-11-03T19:56:24.271220Z", "shell.execute_reply": "2025-11-03T19:56:24.270799Z" } }, "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": "31a0fd73", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "9656ff5a", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:24.273235Z", "iopub.status.busy": "2025-11-03T19:56:24.273108Z", "iopub.status.idle": "2025-11-03T19:56:24.535587Z", "shell.execute_reply": "2025-11-03T19:56:24.535242Z" } }, "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": "0be0b129", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "1509dfb7", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:56:24.537647Z", "iopub.status.busy": "2025-11-03T19:56:24.537523Z", "iopub.status.idle": "2025-11-03T19:56:24.820068Z", "shell.execute_reply": "2025-11-03T19:56:24.819622Z" } }, "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 }