Update after matchday 15
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 1,
|
||||
"id": "b63beb69",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 2,
|
||||
"id": "a3c39376",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"execution_count": 3,
|
||||
"id": "92d3c6fb",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -170,7 +170,7 @@
|
||||
"[380 rows x 3 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 13,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -181,14 +181,14 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"execution_count": null,
|
||||
"id": "0d4a330d",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"df = pd.DataFrame(columns = ['matchday', 'player', 'team', 'oppteam', 'home', 'vote', 'goals', 'assists', 'cards_malus', 'fantavote'])\n",
|
||||
"\n",
|
||||
"LAST_MATCH = 14\n",
|
||||
"LAST_MATCH = 38\n",
|
||||
"\n",
|
||||
"for matchday in range(1, LAST_MATCH + 1):\n",
|
||||
" \n",
|
||||
@@ -196,8 +196,11 @@
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
" rx = np.array(pd.read_excel(votes_file, header = None))\n",
|
||||
" try:\n",
|
||||
" rx = np.array(pd.read_excel(votes_file, header = None))\n",
|
||||
" except:\n",
|
||||
" print('Last matchday: ' + str(matchday-1))\n",
|
||||
" break\n",
|
||||
"\n",
|
||||
" read = 0\n",
|
||||
" for i in range(rx.shape[0]):\n",
|
||||
@@ -244,7 +247,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"execution_count": 5,
|
||||
"id": "6ade957d",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -460,7 +463,7 @@
|
||||
"[4015 rows x 10 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 15,
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -471,7 +474,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"execution_count": 6,
|
||||
"id": "230213fe",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
|
||||
Reference in New Issue
Block a user