{ "cells": [ { "cell_type": "markdown", "id": "93340086", "metadata": {}, "source": [ "# 2023 / 2024\n", "\n", "Progress points for the Ligue 1 2023 / 2024 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "44386326", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:09.555696Z", "iopub.status.busy": "2025-09-23T23:55:09.555573Z", "iopub.status.idle": "2025-09-23T23:55:09.845201Z", "shell.execute_reply": "2025-09-23T23:55:09.844753Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2023\n", "league = \"FR1\"" ] }, { "cell_type": "markdown", "id": "2af83705", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "0bfef112", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:09.846619Z", "iopub.status.busy": "2025-09-23T23:55:09.846459Z", "iopub.status.idle": "2025-09-23T23:55:11.575445Z", "shell.execute_reply": "2025-09-23T23:55:11.574935Z" } }, "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": "95b82fb3", "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": "2d6959bf", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:11.577551Z", "iopub.status.busy": "2025-09-23T23:55:11.577364Z", "iopub.status.idle": "2025-09-23T23:55:11.774774Z", "shell.execute_reply": "2025-09-23T23:55:11.774229Z" } }, "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": "745450c0", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "5f01794f", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:11.776272Z", "iopub.status.busy": "2025-09-23T23:55:11.776132Z", "iopub.status.idle": "2025-09-23T23:55:11.941585Z", "shell.execute_reply": "2025-09-23T23:55:11.940849Z" } }, "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": "83f0c874", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "ced931a6", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:11.943209Z", "iopub.status.busy": "2025-09-23T23:55:11.943079Z", "iopub.status.idle": "2025-09-23T23:55:12.191725Z", "shell.execute_reply": "2025-09-23T23:55:12.191290Z" } }, "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 }