{
"cells": [
{
"cell_type": "markdown",
"id": "dd9a7bd0",
"metadata": {},
"source": [
"# 2024 / 2025\n",
"\n",
"Progress points for the Bundesliga 2024 / 2025 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "6ba6f3a0",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-22T22:04:28.942234Z",
"iopub.status.busy": "2025-09-22T22:04:28.942118Z",
"iopub.status.idle": "2025-09-22T22:04:29.250886Z",
"shell.execute_reply": "2025-09-22T22:04:29.250440Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 2024\n",
"league = \"D1\""
]
},
{
"cell_type": "markdown",
"id": "a3c07125",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "dda95000",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-22T22:04:29.252319Z",
"iopub.status.busy": "2025-09-22T22:04:29.252153Z",
"iopub.status.idle": "2025-09-22T22:04:31.549500Z",
"shell.execute_reply": "2025-09-22T22:04:31.549030Z"
}
},
"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": "c62dc309",
"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": "c7d179cf",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-22T22:04:31.551193Z",
"iopub.status.busy": "2025-09-22T22:04:31.551071Z",
"iopub.status.idle": "2025-09-22T22:04:31.753695Z",
"shell.execute_reply": "2025-09-22T22:04:31.753250Z"
}
},
"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": "c7223ae4",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "1e0a7dc9",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-22T22:04:31.755182Z",
"iopub.status.busy": "2025-09-22T22:04:31.755061Z",
"iopub.status.idle": "2025-09-22T22:04:31.923662Z",
"shell.execute_reply": "2025-09-22T22:04:31.923249Z"
}
},
"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": "571f6d59",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "0246afb0",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-22T22:04:31.925256Z",
"iopub.status.busy": "2025-09-22T22:04:31.925135Z",
"iopub.status.idle": "2025-09-22T22:04:32.174276Z",
"shell.execute_reply": "2025-09-22T22:04:32.173805Z"
}
},
"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
}