{
"cells": [
{
"cell_type": "markdown",
"id": "a80f2075",
"metadata": {},
"source": [
"# 2010 / 2011\n",
"\n",
"Progress points for the Premier League 2010 / 2011 season."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "8023363e",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:23:01.901330Z",
"iopub.status.busy": "2024-12-24T00:23:01.901105Z",
"iopub.status.idle": "2024-12-24T00:23:02.126918Z",
"shell.execute_reply": "2024-12-24T00:23:02.126557Z"
}
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from proggyleg import proggyleg\n",
"year = 2010\n",
"league = \"E0\""
]
},
{
"cell_type": "markdown",
"id": "a303e0ae",
"metadata": {},
"source": [
"## Cumulative Points\n",
"\n",
"The sum of points up to a given game played."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "852c2dbf",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:23:02.128602Z",
"iopub.status.busy": "2024-12-24T00:23:02.128486Z",
"iopub.status.idle": "2024-12-24T00:23:03.776076Z",
"shell.execute_reply": "2024-12-24T00:23:03.775784Z"
}
},
"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": "8193bd37",
"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": "132e5c3e",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:23:03.778366Z",
"iopub.status.busy": "2024-12-24T00:23:03.778284Z",
"iopub.status.idle": "2024-12-24T00:23:03.908630Z",
"shell.execute_reply": "2024-12-24T00:23:03.908338Z"
}
},
"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": "18aeb161",
"metadata": {},
"source": [
"## Position"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "73257320",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:23:03.910510Z",
"iopub.status.busy": "2024-12-24T00:23:03.910409Z",
"iopub.status.idle": "2024-12-24T00:23:04.006885Z",
"shell.execute_reply": "2024-12-24T00:23:04.006576Z"
}
},
"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": "7ec7f867",
"metadata": {},
"source": [
"## Rolling Form\n",
"\n",
"Exponential weighted moving average of points won per game."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "33d35d60",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-24T00:23:04.009217Z",
"iopub.status.busy": "2024-12-24T00:23:04.009071Z",
"iopub.status.idle": "2024-12-24T00:23:04.130792Z",
"shell.execute_reply": "2024-12-24T00:23:04.130498Z"
}
},
"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
}