{ "cells": [ { "cell_type": "markdown", "id": "be9a134a", "metadata": {}, "source": [ "# 2025 / 2026\n", "\n", "Progress points for the Ligue 1 2025 / 2026 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "db721353", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:20.488148Z", "iopub.status.busy": "2025-09-23T23:55:20.488027Z", "iopub.status.idle": "2025-09-23T23:55:20.779622Z", "shell.execute_reply": "2025-09-23T23:55:20.779163Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "year = 2025\n", "league = \"FR1\"" ] }, { "cell_type": "markdown", "id": "6cfda781", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "36ef2f37", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:20.781106Z", "iopub.status.busy": "2025-09-23T23:55:20.780943Z", "iopub.status.idle": "2025-09-23T23:55:22.193729Z", "shell.execute_reply": "2025-09-23T23:55:22.192961Z" } }, "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": "5f620be8", "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": "d5bd95d5", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:22.195392Z", "iopub.status.busy": "2025-09-23T23:55:22.195255Z", "iopub.status.idle": "2025-09-23T23:55:22.370227Z", "shell.execute_reply": "2025-09-23T23:55:22.369740Z" } }, "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": "ee2ca72e", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "c3c373b0", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:22.371601Z", "iopub.status.busy": "2025-09-23T23:55:22.371474Z", "iopub.status.idle": "2025-09-23T23:55:22.515655Z", "shell.execute_reply": "2025-09-23T23:55:22.515210Z" } }, "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": "18327f01", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "a2401c80", "metadata": { "execution": { "iopub.execute_input": "2025-09-23T23:55:22.516908Z", "iopub.status.busy": "2025-09-23T23:55:22.516783Z", "iopub.status.idle": "2025-09-23T23:55:22.737999Z", "shell.execute_reply": "2025-09-23T23:55:22.737616Z" } }, "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 }