{ "cells": [ { "cell_type": "markdown", "id": "5a04de34", "metadata": {}, "source": [ "# 2026 / 2027\n", "\n", "Progress points for the La Liga 2026 / 2027 season." ] }, { "cell_type": "code", "execution_count": 1, "id": "77ca9707", "metadata": { "execution": { "iopub.execute_input": "2026-08-25T19:23:29.956417Z", "iopub.status.busy": "2026-08-25T19:23:29.956296Z", "iopub.status.idle": "2026-08-25T19:23:30.241171Z", "shell.execute_reply": "2026-08-25T19:23:30.240737Z" } }, "outputs": [], "source": [ "%config InlineBackend.figure_formats = ['svg']\n", "from proggyleg import proggyleg\n", "\n", "year = 2026\n", "league = \"SP1\"" ] }, { "cell_type": "markdown", "id": "bad7aa71", "metadata": {}, "source": [ "## Cumulative Points\n", "\n", "The sum of points up to a given game played." ] }, { "cell_type": "code", "execution_count": 2, "id": "aca1345e", "metadata": { "execution": { "iopub.execute_input": "2026-08-25T19:23:30.242687Z", "iopub.status.busy": "2026-08-25T19:23:30.242521Z", "iopub.status.idle": "2026-08-25T19:23:32.487301Z", "shell.execute_reply": "2026-08-25T19:23:32.486850Z" } }, "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": "dbc65f82", "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": "50f59fda", "metadata": { "execution": { "iopub.execute_input": "2026-08-25T19:23:32.488644Z", "iopub.status.busy": "2026-08-25T19:23:32.488458Z", "iopub.status.idle": "2026-08-25T19:23:32.678658Z", "shell.execute_reply": "2026-08-25T19:23:32.678244Z" } }, "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": "b40a703d", "metadata": {}, "source": [ "## Position" ] }, { "cell_type": "code", "execution_count": 4, "id": "b944afa1", "metadata": { "execution": { "iopub.execute_input": "2026-08-25T19:23:32.680092Z", "iopub.status.busy": "2026-08-25T19:23:32.679954Z", "iopub.status.idle": "2026-08-25T19:23:32.837492Z", "shell.execute_reply": "2026-08-25T19:23:32.836991Z" } }, "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": "ec27433e", "metadata": {}, "source": [ "## Rolling Form\n", "\n", "Exponential weighted moving average of points won per game." ] }, { "cell_type": "code", "execution_count": 5, "id": "19ddb4af", "metadata": { "execution": { "iopub.execute_input": "2026-08-25T19:23:32.838900Z", "iopub.status.busy": "2026-08-25T19:23:32.838772Z", "iopub.status.idle": "2026-08-25T19:23:33.076469Z", "shell.execute_reply": "2026-08-25T19:23:33.076062Z" } }, "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 }