{ "cells": [ { "cell_type": "markdown", "id": "58572f5b", "metadata": {}, "source": [ "# 2016 / 2017\n", "\n", "Progress points for the EFL League Two 2016 / 2017 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "5e871b6d", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:36.034504Z", "iopub.status.busy": "2025-11-03T19:54:36.034234Z", "iopub.status.idle": "2025-11-03T19:54:36.332782Z", "shell.execute_reply": "2025-11-03T19:54:36.332335Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2016\n", "league = \"E3\"" ] }, { "cell_type": "markdown", "id": "dd8a77f1", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "9872dae0", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:36.334343Z", "iopub.status.busy": "2025-11-03T19:54:36.334125Z", "iopub.status.idle": "2025-11-03T19:54:38.014942Z", "shell.execute_reply": "2025-11-03T19:54:38.014463Z" } }, "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": "9c5d3b89", "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": "def7d65d", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:38.016874Z", "iopub.status.busy": "2025-11-03T19:54:38.016749Z", "iopub.status.idle": "2025-11-03T19:54:38.289786Z", "shell.execute_reply": "2025-11-03T19:54:38.289349Z" } }, "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": "790a92e3", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "e65381c4", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:38.291805Z", "iopub.status.busy": "2025-11-03T19:54:38.291677Z", "iopub.status.idle": "2025-11-03T19:54:38.553192Z", "shell.execute_reply": "2025-11-03T19:54:38.552747Z" } }, "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": "ca6478ff", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "7358a65e", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:38.555267Z", "iopub.status.busy": "2025-11-03T19:54:38.555124Z", "iopub.status.idle": "2025-11-03T19:54:38.831175Z", "shell.execute_reply": "2025-11-03T19:54:38.830736Z" } }, "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 }