{ "cells": [ { "cell_type": "markdown", "id": "c7bfa7d4", "metadata": {}, "source": [ "# 2017 / 2018\n", "\n", "Progress points for the EFL League One 2017 / 2018 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "89ef00aa", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:53.325215Z", "iopub.status.busy": "2025-11-03T19:55:53.325097Z", "iopub.status.idle": "2025-11-03T19:55:53.620583Z", "shell.execute_reply": "2025-11-03T19:55:53.620073Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2017\n", "league = \"E2\"" ] }, { "cell_type": "markdown", "id": "3fd512bb", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "a73e4989", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:53.622129Z", "iopub.status.busy": "2025-11-03T19:55:53.621923Z", "iopub.status.idle": "2025-11-03T19:55:55.294890Z", "shell.execute_reply": "2025-11-03T19:55:55.294361Z" } }, "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": "f5b71e9f", "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": "98912b25", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:55.297480Z", "iopub.status.busy": "2025-11-03T19:55:55.297335Z", "iopub.status.idle": "2025-11-03T19:55:55.588014Z", "shell.execute_reply": "2025-11-03T19:55:55.587568Z" } }, "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": "8041e0cf", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "a2403126", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:55.590233Z", "iopub.status.busy": "2025-11-03T19:55:55.590103Z", "iopub.status.idle": "2025-11-03T19:55:55.879375Z", "shell.execute_reply": "2025-11-03T19:55:55.878821Z" } }, "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": "782d8348", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "f079fc25", "metadata": { "execution": { "iopub.execute_input": "2025-11-03T19:55:55.881694Z", "iopub.status.busy": "2025-11-03T19:55:55.881564Z", "iopub.status.idle": "2025-11-03T19:55:56.183679Z", "shell.execute_reply": "2025-11-03T19:55:56.183263Z" } }, "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 }