{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Getting stats for more players\n", "\n", "This is a quick version that will only check the top500 players from last season to estimate the total number of pro players. " ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from tqdm import tqdm\n", "import requests\n", "from bs4 import BeautifulSoup\n", "import os\n", "import pandas as pd\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| \n", " | rank | \n", "name | \n", "country | \n", "matches | \n", "mmr | \n", "season | \n", "previous_top500 | \n", "national_rank | \n", "efficiency | \n", "lei | \n", "
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "1 | \n", "kolemoen | \n", "Germany | \n", "431 | \n", "10484 | \n", "M2_01 Wolf 2020 | \n", "no | \n", "1 | \n", "2.051044 | \n", "42.580782 | \n", "
| 1 | \n", "2 | \n", "kams134 | \n", "Poland | \n", "923 | \n", "10477 | \n", "M2_01 Wolf 2020 | \n", "no | \n", "1 | \n", "0.950163 | \n", "28.866807 | \n", "
| 2 | \n", "3 | \n", "TailBot | \n", "Poland | \n", "538 | \n", "10472 | \n", "M2_01 Wolf 2020 | \n", "no | \n", "2 | \n", "1.620818 | \n", "37.594590 | \n", "
| 3 | \n", "4 | \n", "Pajabol | \n", "Poland | \n", "820 | \n", "10471 | \n", "M2_01 Wolf 2020 | \n", "no | \n", "3 | \n", "1.062195 | \n", "30.416639 | \n", "
| 4 | \n", "5 | \n", "Adzikov | \n", "Poland | \n", "1105 | \n", "10442 | \n", "M2_01 Wolf 2020 | \n", "no | \n", "4 | \n", "0.761991 | \n", "25.329753 | \n", "