{ "cells": [ { "cell_type": "markdown", "id": "4100353f-21f2-4ef2-acc6-7c432af14afa", "metadata": {}, "source": [ "# Club Elo" ] }, { "cell_type": "code", "execution_count": 1, "id": "605fd454-caf3-4680-89d1-ae836f3e1bf2", "metadata": { "tags": [] }, "outputs": [], "source": [ "import sys\n", "\n", "sys.path.append(\"../../\")\n", "\n", "from penaltyblog.scrapers import ClubElo" ] }, { "cell_type": "markdown", "id": "ba3c458d-0832-408e-b9de-b8135ff881e7", "metadata": {}, "source": [ "### Download all ELO ratings on the 1st January 2020" ] }, { "cell_type": "code", "execution_count": 2, "id": "7e71b59e-1fb5-4a11-90b3-ef8ce5837b4a", "metadata": { "tags": [] }, "outputs": [ { "data": { "text/html": [ "
\n", " | rank | \n", "country | \n", "level | \n", "elo | \n", "from | \n", "to | \n", "
---|---|---|---|---|---|---|
team | \n", "\n", " | \n", " | \n", " | \n", " | \n", " | \n", " |
Liverpool | \n", "1.0 | \n", "ENG | \n", "1 | \n", "2075.851318 | \n", "2019-12-30 | \n", "2020-01-02 | \n", "
Man City | \n", "2.0 | \n", "ENG | \n", "1 | \n", "2001.572021 | \n", "2019-12-30 | \n", "2020-01-01 | \n", "
Barcelona | \n", "3.0 | \n", "ESP | \n", "1 | \n", "1985.365845 | \n", "2019-12-22 | \n", "2020-01-04 | \n", "
Bayern | \n", "4.0 | \n", "GER | \n", "1 | \n", "1941.557129 | \n", "2019-12-22 | \n", "2020-01-19 | \n", "
Juventus | \n", "5.0 | \n", "ITA | \n", "1 | \n", "1909.993042 | \n", "2019-12-19 | \n", "2020-01-06 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
Santa Coloma | \n", "NaN | \n", "AND | \n", "0 | \n", "773.999878 | \n", "2019-08-02 | \n", "2020-08-08 | \n", "
Matecosa Sant Julia | \n", "NaN | \n", "AND | \n", "0 | \n", "754.937744 | \n", "2019-08-02 | \n", "2020-07-01 | \n", "
Tre Fiori | \n", "NaN | \n", "SMR | \n", "0 | \n", "707.414734 | \n", "2019-07-31 | \n", "2020-08-08 | \n", "
Tre Penne | \n", "NaN | \n", "SMR | \n", "0 | \n", "676.546082 | \n", "2019-07-31 | \n", "2020-08-08 | \n", "
La Fiorita | \n", "NaN | \n", "SMR | \n", "0 | \n", "661.198242 | \n", "2019-07-31 | \n", "2020-08-08 | \n", "
642 rows × 6 columns
\n", "\n", " | team | \n", "
---|---|
0 | \n", "Liverpool | \n", "
1 | \n", "Man City | \n", "
2 | \n", "Arsenal | \n", "
3 | \n", "Inter | \n", "
4 | \n", "Real Madrid | \n", "
... | \n", "... | \n", "
624 | \n", "FCB Magpies | \n", "
625 | \n", "Atletic Club Escaldes | \n", "
626 | \n", "SS Virtus | \n", "
627 | \n", "Tre Penne | \n", "
628 | \n", "La Fiorita | \n", "
629 rows × 1 columns
\n", "\n", " | rank | \n", "team | \n", "country | \n", "level | \n", "elo | \n", "to | \n", "
---|---|---|---|---|---|---|
from | \n", "\n", " | \n", " | \n", " | \n", " | \n", " | \n", " |
2024-12-24 | \n", "34.0 | \n", "Bournemouth | \n", "ENG | \n", "1 | \n", "1759.336182 | \n", "2024-12-31 | \n", "
2024-12-23 | \n", "34.0 | \n", "Bournemouth | \n", "ENG | \n", "1 | \n", "1759.336182 | \n", "2024-12-23 | \n", "
2024-12-17 | \n", "34.0 | \n", "Bournemouth | \n", "ENG | \n", "1 | \n", "1759.336182 | \n", "2024-12-22 | \n", "
2024-12-11 | \n", "34.0 | \n", "Bournemouth | \n", "ENG | \n", "1 | \n", "1759.336182 | \n", "2024-12-16 | \n", "
2024-12-09 | \n", "35.0 | \n", "Bournemouth | \n", "ENG | \n", "1 | \n", "1755.398682 | \n", "2024-12-10 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
1987-09-01 | \n", "NaN | \n", "Bournemouth | \n", "ENG | \n", "2 | \n", "1446.301025 | \n", "1987-09-05 | \n", "
1987-08-30 | \n", "NaN | \n", "Bournemouth | \n", "ENG | \n", "2 | \n", "1455.968018 | \n", "1987-08-31 | \n", "
1987-08-23 | \n", "NaN | \n", "Bournemouth | \n", "ENG | \n", "2 | \n", "1451.548828 | \n", "1987-08-29 | \n", "
1987-08-16 | \n", "NaN | \n", "Bournemouth | \n", "ENG | \n", "2 | \n", "1441.609131 | \n", "1987-08-22 | \n", "
1987-07-01 | \n", "NaN | \n", "Bournemouth | \n", "ENG | \n", "2 | \n", "1428.954834 | \n", "1987-08-15 | \n", "
1528 rows × 6 columns
\n", "