{
"cells": [
{
"cell_type": "markdown",
"id": "75cf328e",
"metadata": {},
"source": [
"# 2022 / 2023\n",
"\n",
"Progress points for the EFL League One 2022 / 2023 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "a1405edd",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:27:28.944916Z",
"iopub.status.busy": "2024-12-24T00:27:28.944709Z",
"iopub.status.idle": "2024-12-24T00:27:29.163987Z",
"shell.execute_reply": "2024-12-24T00:27:29.163597Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 2022\n",
"league = \"E2\""
]
},
{
"cell_type": "markdown",
"id": "04c5e85e",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "5f031d23",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:27:29.165858Z",
"iopub.status.busy": "2024-12-24T00:27:29.165724Z",
"iopub.status.idle": "2024-12-24T00:27:31.067918Z",
"shell.execute_reply": "2024-12-24T00:27:31.067614Z"
}
},
"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": "4748d58b",
"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": "1aa49940",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:27:31.070491Z",
"iopub.status.busy": "2024-12-24T00:27:31.070404Z",
"iopub.status.idle": "2024-12-24T00:27:31.230498Z",
"shell.execute_reply": "2024-12-24T00:27:31.230122Z"
}
},
"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": "334363a7",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "3c70d738",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:27:31.232944Z",
"iopub.status.busy": "2024-12-24T00:27:31.232843Z",
"iopub.status.idle": "2024-12-24T00:27:31.352803Z",
"shell.execute_reply": "2024-12-24T00:27:31.352507Z"
}
},
"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": "2193c2e8",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "666643ba",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:27:31.355076Z",
"iopub.status.busy": "2024-12-24T00:27:31.354975Z",
"iopub.status.idle": "2024-12-24T00:27:31.498273Z",
"shell.execute_reply": "2024-12-24T00:27:31.497980Z"
}
},
"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
}