{ "cells": [ { "cell_type": "markdown", "id": "1171295c", "metadata": {}, "source": [ "# 2012 / 2013\n", "\n", "Progress points for the EFL Championship 2012 / 2013 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "41926c0e", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:32.699323Z", "iopub.status.busy": "2024-12-24T00:24:32.698993Z", "iopub.status.idle": "2024-12-24T00:24:32.931895Z", "shell.execute_reply": "2024-12-24T00:24:32.931541Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2012\n", "league = \"E1\"" ] }, { "cell_type": "markdown", "id": "68871fef", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "520187c5", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:32.933734Z", "iopub.status.busy": "2024-12-24T00:24:32.933611Z", "iopub.status.idle": "2024-12-24T00:24:34.590380Z", "shell.execute_reply": "2024-12-24T00:24:34.590050Z" } }, "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": "e635f20f", "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": "066b28bd", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:34.593025Z", "iopub.status.busy": "2024-12-24T00:24:34.592933Z", "iopub.status.idle": "2024-12-24T00:24:34.751290Z", "shell.execute_reply": "2024-12-24T00:24:34.750980Z" } }, "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": "0dc6a391", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "addc7bcc", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:34.753564Z", "iopub.status.busy": "2024-12-24T00:24:34.753459Z", "iopub.status.idle": "2024-12-24T00:24:34.870183Z", "shell.execute_reply": "2024-12-24T00:24:34.869907Z" } }, "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": "9c40cab9", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "58cdc0e0", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:24:34.872273Z", "iopub.status.busy": "2024-12-24T00:24:34.872172Z", "iopub.status.idle": "2024-12-24T00:24:35.012141Z", "shell.execute_reply": "2024-12-24T00:24:35.011864Z" } }, "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 }