{
"cells": [
{
"cell_type": "markdown",
"id": "fdf1483f",
"metadata": {},
"source": [
"# 1994 / 1995\n",
"\n",
"Progress points for the Premier League 1994 / 1995 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "765ca46d",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:22:03.078957Z",
"iopub.status.busy": "2024-12-24T00:22:03.078615Z",
"iopub.status.idle": "2024-12-24T00:22:03.314755Z",
"shell.execute_reply": "2024-12-24T00:22:03.314381Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 1994\n",
"league = \"E0\""
]
},
{
"cell_type": "markdown",
"id": "6cc1db0f",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "624aae2d",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:22:03.316694Z",
"iopub.status.busy": "2024-12-24T00:22:03.316564Z",
"iopub.status.idle": "2024-12-24T00:22:04.545252Z",
"shell.execute_reply": "2024-12-24T00:22:04.544911Z"
}
},
"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": "ebbf403c",
"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": "d0270a41",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:22:04.547837Z",
"iopub.status.busy": "2024-12-24T00:22:04.547740Z",
"iopub.status.idle": "2024-12-24T00:22:04.686689Z",
"shell.execute_reply": "2024-12-24T00:22:04.686388Z"
}
},
"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": "d50d8d2c",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "32c6664e",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:22:04.688855Z",
"iopub.status.busy": "2024-12-24T00:22:04.688757Z",
"iopub.status.idle": "2024-12-24T00:22:04.788921Z",
"shell.execute_reply": "2024-12-24T00:22:04.788653Z"
}
},
"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": "904666c8",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "55e794b7",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:22:04.791188Z",
"iopub.status.busy": "2024-12-24T00:22:04.791089Z",
"iopub.status.idle": "2024-12-24T00:22:04.913344Z",
"shell.execute_reply": "2024-12-24T00:22:04.913010Z"
}
},
"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
}