{ "cells": [ { "cell_type": "markdown", "id": "b005f673", "metadata": {}, "source": [ "# 2015 / 2016\n", "\n", "Progress points for the EFL League Two 2015 / 2016 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "05d9ea6e", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:29.781088Z", "iopub.status.busy": "2025-11-03T19:54:29.780966Z", "iopub.status.idle": "2025-11-03T19:54:30.078005Z", "shell.execute_reply": "2025-11-03T19:54:30.077572Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2015\n", "league = \"E3\"" ] }, { "cell_type": "markdown", "id": "e7020e1c", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "bfda46b4", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:30.079464Z", "iopub.status.busy": "2025-11-03T19:54:30.079298Z", "iopub.status.idle": "2025-11-03T19:54:32.121930Z", "shell.execute_reply": "2025-11-03T19:54:32.121430Z" } }, "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": "0633921a", "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": "53c4fede", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:32.124013Z", "iopub.status.busy": "2025-11-03T19:54:32.123880Z", "iopub.status.idle": "2025-11-03T19:54:32.382735Z", "shell.execute_reply": "2025-11-03T19:54:32.382096Z" } }, "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": "0de75efc", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "a27c2038", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:32.384893Z", "iopub.status.busy": "2025-11-03T19:54:32.384761Z", "iopub.status.idle": "2025-11-03T19:54:32.635019Z", "shell.execute_reply": "2025-11-03T19:54:32.634589Z" } }, "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": "05fedafe", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "69fb4225", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:54:32.637079Z", "iopub.status.busy": "2025-11-03T19:54:32.636951Z", "iopub.status.idle": "2025-11-03T19:54:32.911887Z", "shell.execute_reply": "2025-11-03T19:54:32.911387Z" } }, "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 }