{ "cells": [ { "cell_type": "markdown", "id": "0f933e0e", "metadata": {}, "source": [ "# 2024 / 2025\n", "\n", "Progress points for the EFL Championship 2024 / 2025 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "0853eb7f", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:25:22.866119Z", "iopub.status.busy": "2024-12-24T00:25:22.865924Z", "iopub.status.idle": "2024-12-24T00:25:23.081037Z", "shell.execute_reply": "2024-12-24T00:25:23.080705Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2024\n", "league = \"E1\"" ] }, { "cell_type": "markdown", "id": "67e69b49", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "84c3ffd6", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:25:23.082887Z", "iopub.status.busy": "2024-12-24T00:25:23.082744Z", "iopub.status.idle": "2024-12-24T00:25:24.763434Z", "shell.execute_reply": "2024-12-24T00:25:24.763133Z" } }, "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": "68a8aeb9", "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": "707aea44", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:25:24.765715Z", "iopub.status.busy": "2024-12-24T00:25:24.765617Z", "iopub.status.idle": "2024-12-24T00:25:24.910706Z", "shell.execute_reply": "2024-12-24T00:25:24.910435Z" } }, "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": "e27a4fc3", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "edc5b4d2", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:25:24.912576Z", "iopub.status.busy": "2024-12-24T00:25:24.912477Z", "iopub.status.idle": "2024-12-24T00:25:25.016126Z", "shell.execute_reply": "2024-12-24T00:25:25.015861Z" } }, "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": "65ed3d5b", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "4e65ae27", "metadata": { "execution": { "iopub.execute_input": "2024-12-24T00:25:25.017827Z", "iopub.status.busy": "2024-12-24T00:25:25.017727Z", "iopub.status.idle": "2024-12-24T00:25:25.143879Z", "shell.execute_reply": "2024-12-24T00:25:25.143609Z" } }, "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": "force" } }, "nbformat": 4, "nbformat_minor": 5 }