{
"cells": [
{
"cell_type": "markdown",
"id": "b5fde387",
"metadata": {},
"source": [
"# 2022 / 2023\n",
"\n",
"Progress points for the Ligue 1 2022 / 2023 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "3f1f9694",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-23T23:55:04.010097Z",
"iopub.status.busy": "2025-09-23T23:55:04.009977Z",
"iopub.status.idle": "2025-09-23T23:55:04.306228Z",
"shell.execute_reply": "2025-09-23T23:55:04.302319Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 2022\n",
"league = \"FR1\""
]
},
{
"cell_type": "markdown",
"id": "1de8d7db",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "3308b2ab",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-23T23:55:04.312097Z",
"iopub.status.busy": "2025-09-23T23:55:04.311730Z",
"iopub.status.idle": "2025-09-23T23:55:06.117419Z",
"shell.execute_reply": "2025-09-23T23:55:06.117003Z"
}
},
"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": "2b0af39c",
"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": "29ae96e5",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-23T23:55:06.119094Z",
"iopub.status.busy": "2025-09-23T23:55:06.118968Z",
"iopub.status.idle": "2025-09-23T23:55:06.331819Z",
"shell.execute_reply": "2025-09-23T23:55:06.331376Z"
}
},
"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": "d9245e01",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "36350d66",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-23T23:55:06.333338Z",
"iopub.status.busy": "2025-09-23T23:55:06.333213Z",
"iopub.status.idle": "2025-09-23T23:55:06.544402Z",
"shell.execute_reply": "2025-09-23T23:55:06.543928Z"
}
},
"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": "f4ed81be",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "36f0c122",
"metadata": {
"execution": {
"iopub.execute_input": "2025-09-23T23:55:06.545867Z",
"iopub.status.busy": "2025-09-23T23:55:06.545747Z",
"iopub.status.idle": "2025-09-23T23:55:06.767538Z",
"shell.execute_reply": "2025-09-23T23:55:06.767132Z"
}
},
"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
}