{ "cells": [ { "cell_type": "markdown", "id": "625296d0", "metadata": {}, "source": [ "# 2020 / 2021\n", "\n", "Progress points for the EFL League Two 2020 / 2021 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "e893a6a8", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:58.923708Z", "iopub.status.busy": "2025-11-03T19:54:58.923583Z", "iopub.status.idle": "2025-11-03T19:54:59.217766Z", "shell.execute_reply": "2025-11-03T19:54:59.217228Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2020\n", "league = \"E3\"" ] }, { "cell_type": "markdown", "id": "d2740846", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "f135dd30", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:59.219347Z", "iopub.status.busy": "2025-11-03T19:54:59.219151Z", "iopub.status.idle": "2025-11-03T19:55:01.037855Z", "shell.execute_reply": "2025-11-03T19:55:01.037427Z" } }, "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": "6cabc4a3", "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": "37a29ef0", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:01.040038Z", "iopub.status.busy": "2025-11-03T19:55:01.039909Z", "iopub.status.idle": "2025-11-03T19:55:01.330027Z", "shell.execute_reply": "2025-11-03T19:55:01.329590Z" } }, "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": "f44999f9", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "41a098f2", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:01.332002Z", "iopub.status.busy": "2025-11-03T19:55:01.331874Z", "iopub.status.idle": "2025-11-03T19:55:01.609231Z", "shell.execute_reply": "2025-11-03T19:55:01.608454Z" } }, "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": "ef03f23a", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "7aa47818", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:01.612080Z", "iopub.status.busy": "2025-11-03T19:55:01.611948Z", "iopub.status.idle": "2025-11-03T19:55:01.916092Z", "shell.execute_reply": "2025-11-03T19:55:01.915667Z" } }, "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 }