{ "cells": [ { "cell_type": "markdown", "id": "e4eb8d01", "metadata": {}, "source": [ "# 2007 / 2008\n", "\n", "Progress points for the EFL Championship 2007 / 2008 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "017bcff3", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:12.897083Z", "iopub.status.busy": "2024-12-24T00:24:12.896689Z", "iopub.status.idle": "2024-12-24T00:24:13.128831Z", "shell.execute_reply": "2024-12-24T00:24:13.128549Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2007\n", "league = \"E1\"" ] }, { "cell_type": "markdown", "id": "d3e2588a", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "b966ba02", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:13.130745Z", "iopub.status.busy": "2024-12-24T00:24:13.130626Z", "iopub.status.idle": "2024-12-24T00:24:14.801317Z", "shell.execute_reply": "2024-12-24T00:24:14.801026Z" } }, "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": "fad15bce", "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": "929fb8fa", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:14.803570Z", "iopub.status.busy": "2024-12-24T00:24:14.803479Z", "iopub.status.idle": "2024-12-24T00:24:14.967733Z", "shell.execute_reply": "2024-12-24T00:24:14.967473Z" } }, "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": "ccb15ef6", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "e22f036a", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:14.970101Z", "iopub.status.busy": "2024-12-24T00:24:14.969998Z", "iopub.status.idle": "2024-12-24T00:24:15.095296Z", "shell.execute_reply": "2024-12-24T00:24:15.094992Z" } }, "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": "76ababe3", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "5137b6ca", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:15.097464Z", "iopub.status.busy": "2024-12-24T00:24:15.097346Z", "iopub.status.idle": "2024-12-24T00:24:15.242958Z", "shell.execute_reply": "2024-12-24T00:24:15.242665Z" } }, "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 }