sportowe_wizualizacja/shots_visuals.ipynb

6583 lines
312 KiB
Plaintext
Raw Normal View History

2019-06-03 13:31:10 +02:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"from pandas.io.json import json_normalize #package for flattening json in pandas df\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"df = pd.read_json(r\"C:\\Users\\Koushik\\Downloads\\open-data-master\\open-data-master\\data\\events\\19714.json\")\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"\n",
"shot = df[ (df.type == {'id': 16, 'name': 'Shot'})]"
]
},
{
"cell_type": "code",
"execution_count": 62,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"33 {'id': 971, 'name': 'Chelsea LFC'}\n",
"186 {'id': 971, 'name': 'Chelsea LFC'}\n",
"192 {'id': 971, 'name': 'Chelsea LFC'}\n",
"196 {'id': 971, 'name': 'Chelsea LFC'}\n",
"204 {'id': 971, 'name': 'Chelsea LFC'}\n",
"583 {'id': 971, 'name': 'Chelsea LFC'}\n",
"695 {'id': 971, 'name': 'Chelsea LFC'}\n",
"749 {'id': 971, 'name': 'Chelsea LFC'}\n",
"765 {'id': 971, 'name': 'Chelsea LFC'}\n",
"832 {'id': 746, 'name': 'Manchester City WFC'}\n",
"843 {'id': 746, 'name': 'Manchester City WFC'}\n",
"1060 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1176 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1179 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1291 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1400 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1486 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1622 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1651 {'id': 746, 'name': 'Manchester City WFC'}\n",
"1666 {'id': 971, 'name': 'Chelsea LFC'}\n",
"1828 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2136 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2240 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2297 {'id': 746, 'name': 'Manchester City WFC'}\n",
"2325 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2453 {'id': 746, 'name': 'Manchester City WFC'}\n",
"2532 {'id': 746, 'name': 'Manchester City WFC'}\n",
"2692 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2695 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2741 {'id': 746, 'name': 'Manchester City WFC'}\n",
"2813 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2820 {'id': 971, 'name': 'Chelsea LFC'}\n",
"2867 {'id': 746, 'name': 'Manchester City WFC'}\n",
"2910 {'id': 746, 'name': 'Manchester City WFC'}\n",
"Name: possession_team, dtype: object"
]
},
"execution_count": 62,
"metadata": {},
"output_type": "execute_result"
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"eve_type = df[\"type\"] \n",
"eve_loc = df[\"location\"]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"shot = df[(df.possession_team == {'id': 746, 'name': 'Manchester City WFC'}) & (df.type == {'id': 16, 'name': 'Shot'})]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>bad_behaviour</th>\n",
" <th>ball_receipt</th>\n",
" <th>ball_recovery</th>\n",
" <th>block</th>\n",
" <th>dribble</th>\n",
" <th>duel</th>\n",
" <th>duration</th>\n",
" <th>foul_committed</th>\n",
" <th>foul_won</th>\n",
" <th>goalkeeper</th>\n",
" <th>...</th>\n",
" <th>possession_team</th>\n",
" <th>related_events</th>\n",
" <th>second</th>\n",
" <th>shot</th>\n",
" <th>substitution</th>\n",
" <th>tactics</th>\n",
" <th>team</th>\n",
" <th>timestamp</th>\n",
" <th>type</th>\n",
" <th>under_pressure</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>832</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.240</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[81b72de5-c633-4b86-97a5-e6e3141a637c, b90b070...</td>\n",
" <td>22</td>\n",
" <td>{'statsbomb_xg': 0.06657825, 'end_location': [...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:26:22.860</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>843</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.345</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[0853fb46-b768-4d42-986e-77ea3c96c952, e70ec33...</td>\n",
" <td>32</td>\n",
" <td>{'statsbomb_xg': 0.046157748000000005, 'end_lo...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:26:32.955</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1651</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.400</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[cba9cd2d-9992-407a-aaf3-0311eb351c87]</td>\n",
" <td>41</td>\n",
" <td>{'one_on_one': True, 'statsbomb_xg': 0.5693016...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:03:41.638</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2297</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2.560</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[79749558-b0e2-4f8c-a1eb-0a8e0aef46e8]</td>\n",
" <td>7</td>\n",
" <td>{'statsbomb_xg': 0.008986439, 'end_location': ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:25:07.438</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2453</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>1.640</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[94d2eb1b-8fc9-49c7-b616-aca417904cd6]</td>\n",
" <td>46</td>\n",
" <td>{'statsbomb_xg': 0.0063227050000000005, 'end_l...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:29:46.198</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2532</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.840</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[f74bf297-93f1-45b0-81de-eeb3fc69c680]</td>\n",
" <td>51</td>\n",
" <td>{'statsbomb_xg': 0.22746719999999998, 'end_loc...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:31:51.518</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2741</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.800</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[dd94e36b-a345-4536-b4ee-843bd6e1578b]</td>\n",
" <td>34</td>\n",
" <td>{'statsbomb_xg': 0.2832888, 'end_location': [1...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:40:34.118</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2867</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>1.000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[3ae2ccbb-4810-41b4-afd9-5f5d020ca1e0, 4ecdab6...</td>\n",
" <td>21</td>\n",
" <td>{'statsbomb_xg': 0.050603393, 'end_location': ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:44:21.918</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2910</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>1.828</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[20798c8c-8446-4460-b16a-ad013b7ed0f6]</td>\n",
" <td>7</td>\n",
" <td>{'statsbomb_xg': 0.013315414000000001, 'end_lo...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-30 00:46:07.810</td>\n",
" <td>{'id': 16, 'name': 'Shot'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>9 rows × 33 columns</p>\n",
"</div>"
],
"text/plain": [
" bad_behaviour ball_receipt ball_recovery block dribble duel duration \\\n",
"832 NaN NaN NaN NaN NaN NaN 0.240 \n",
"843 NaN NaN NaN NaN NaN NaN 0.345 \n",
"1651 NaN NaN NaN NaN NaN NaN 0.400 \n",
"2297 NaN NaN NaN NaN NaN NaN 2.560 \n",
"2453 NaN NaN NaN NaN NaN NaN 1.640 \n",
"2532 NaN NaN NaN NaN NaN NaN 0.840 \n",
"2741 NaN NaN NaN NaN NaN NaN 0.800 \n",
"2867 NaN NaN NaN NaN NaN NaN 1.000 \n",
"2910 NaN NaN NaN NaN NaN NaN 1.828 \n",
"\n",
" foul_committed foul_won goalkeeper ... \\\n",
"832 NaN NaN NaN ... \n",
"843 NaN NaN NaN ... \n",
"1651 NaN NaN NaN ... \n",
"2297 NaN NaN NaN ... \n",
"2453 NaN NaN NaN ... \n",
"2532 NaN NaN NaN ... \n",
"2741 NaN NaN NaN ... \n",
"2867 NaN NaN NaN ... \n",
"2910 NaN NaN NaN ... \n",
"\n",
" possession_team \\\n",
"832 {'id': 746, 'name': 'Manchester City WFC'} \n",
"843 {'id': 746, 'name': 'Manchester City WFC'} \n",
"1651 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2297 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2453 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2532 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2741 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2867 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2910 {'id': 746, 'name': 'Manchester City WFC'} \n",
"\n",
" related_events second \\\n",
"832 [81b72de5-c633-4b86-97a5-e6e3141a637c, b90b070... 22 \n",
"843 [0853fb46-b768-4d42-986e-77ea3c96c952, e70ec33... 32 \n",
"1651 [cba9cd2d-9992-407a-aaf3-0311eb351c87] 41 \n",
"2297 [79749558-b0e2-4f8c-a1eb-0a8e0aef46e8] 7 \n",
"2453 [94d2eb1b-8fc9-49c7-b616-aca417904cd6] 46 \n",
"2532 [f74bf297-93f1-45b0-81de-eeb3fc69c680] 51 \n",
"2741 [dd94e36b-a345-4536-b4ee-843bd6e1578b] 34 \n",
"2867 [3ae2ccbb-4810-41b4-afd9-5f5d020ca1e0, 4ecdab6... 21 \n",
"2910 [20798c8c-8446-4460-b16a-ad013b7ed0f6] 7 \n",
"\n",
" shot substitution tactics \\\n",
"832 {'statsbomb_xg': 0.06657825, 'end_location': [... NaN NaN \n",
"843 {'statsbomb_xg': 0.046157748000000005, 'end_lo... NaN NaN \n",
"1651 {'one_on_one': True, 'statsbomb_xg': 0.5693016... NaN NaN \n",
"2297 {'statsbomb_xg': 0.008986439, 'end_location': ... NaN NaN \n",
"2453 {'statsbomb_xg': 0.0063227050000000005, 'end_l... NaN NaN \n",
"2532 {'statsbomb_xg': 0.22746719999999998, 'end_loc... NaN NaN \n",
"2741 {'statsbomb_xg': 0.2832888, 'end_location': [1... NaN NaN \n",
"2867 {'statsbomb_xg': 0.050603393, 'end_location': ... NaN NaN \n",
"2910 {'statsbomb_xg': 0.013315414000000001, 'end_lo... NaN NaN \n",
"\n",
" team timestamp \\\n",
"832 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:26:22.860 \n",
"843 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:26:32.955 \n",
"1651 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:03:41.638 \n",
"2297 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:25:07.438 \n",
"2453 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:29:46.198 \n",
"2532 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:31:51.518 \n",
"2741 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:40:34.118 \n",
"2867 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:44:21.918 \n",
"2910 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-30 00:46:07.810 \n",
"\n",
" type under_pressure \n",
"832 {'id': 16, 'name': 'Shot'} 1.0 \n",
"843 {'id': 16, 'name': 'Shot'} NaN \n",
"1651 {'id': 16, 'name': 'Shot'} NaN \n",
"2297 {'id': 16, 'name': 'Shot'} NaN \n",
"2453 {'id': 16, 'name': 'Shot'} NaN \n",
"2532 {'id': 16, 'name': 'Shot'} NaN \n",
"2741 {'id': 16, 'name': 'Shot'} NaN \n",
"2867 {'id': 16, 'name': 'Shot'} 1.0 \n",
"2910 {'id': 16, 'name': 'Shot'} NaN \n",
"\n",
"[9 rows x 33 columns]"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"shot"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"832 [117.0, 53.0]\n",
"843 [102.0, 50.0]\n",
"1651 [115.0, 41.0]\n",
"2297 [108.0, 35.0]\n",
"2453 [88.0, 34.0]\n",
"2532 [113.0, 42.0]\n",
"2741 [98.0, 46.0]\n",
"2867 [102.0, 35.0]\n",
"2910 [109.0, 37.0]\n",
"Name: location, dtype: object"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"shot.a"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[[117.0, 53.0],\n",
" [102.0, 50.0],\n",
" [115.0, 41.0],\n",
" [108.0, 35.0],\n",
" [88.0, 34.0],\n",
" [113.0, 42.0],\n",
" [98.0, 46.0],\n",
" [102.0, 35.0],\n",
" [109.0, 37.0]]"
]
},
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"shot.location.values.tolist()"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
"df_2 = pd.DataFrame(shot.location)\n",
"df_2[['team1','team2']] = pd.DataFrame(shot.location.values.tolist(), index= shot.location.index)"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>location</th>\n",
" <th>team1</th>\n",
" <th>team2</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>832</th>\n",
" <td>[117.0, 53.0]</td>\n",
" <td>117.0</td>\n",
" <td>53.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>843</th>\n",
" <td>[102.0, 50.0]</td>\n",
" <td>102.0</td>\n",
" <td>50.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1651</th>\n",
" <td>[115.0, 41.0]</td>\n",
" <td>115.0</td>\n",
" <td>41.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2297</th>\n",
" <td>[108.0, 35.0]</td>\n",
" <td>108.0</td>\n",
" <td>35.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2453</th>\n",
" <td>[88.0, 34.0]</td>\n",
" <td>88.0</td>\n",
" <td>34.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2532</th>\n",
" <td>[113.0, 42.0]</td>\n",
" <td>113.0</td>\n",
" <td>42.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2741</th>\n",
" <td>[98.0, 46.0]</td>\n",
" <td>98.0</td>\n",
" <td>46.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2867</th>\n",
" <td>[102.0, 35.0]</td>\n",
" <td>102.0</td>\n",
" <td>35.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2910</th>\n",
" <td>[109.0, 37.0]</td>\n",
" <td>109.0</td>\n",
" <td>37.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" location team1 team2\n",
"832 [117.0, 53.0] 117.0 53.0\n",
"843 [102.0, 50.0] 102.0 50.0\n",
"1651 [115.0, 41.0] 115.0 41.0\n",
"2297 [108.0, 35.0] 108.0 35.0\n",
"2453 [88.0, 34.0] 88.0 34.0\n",
"2532 [113.0, 42.0] 113.0 42.0\n",
"2741 [98.0, 46.0] 98.0 46.0\n",
"2867 [102.0, 35.0] 102.0 35.0\n",
"2910 [109.0, 37.0] 109.0 37.0"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_2"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {},
"outputs": [],
"source": [
"x = df_2.team1.values.tolist()\n",
"y = df_2.team2.values.tolist()"
]
},
{
"cell_type": "code",
"execution_count": 36,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[53.0, 50.0, 41.0, 35.0, 34.0, 42.0, 46.0, 35.0, 37.0]"
]
},
"execution_count": 36,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"y"
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {},
"outputs": [],
"source": [
"x = np.asarray(x)\n",
"y = np.asarray(y)"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([117., 102., 115., 108., 88., 113., 98., 102., 109.])"
]
},
"execution_count": 38,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([53., 50., 41., 35., 34., 42., 46., 35., 37.])"
]
},
"execution_count": 39,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"y"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {},
"outputs": [],
"source": [
"img = plt.imread(r'C:\\Users\\Koushik\\Documents\\football_field.png')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 34,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[117.0, 102.0, 115.0, 108.0, 88.0, 113.0, 98.0, 102.0, 109.0]"
]
},
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x"
]
},
{
"cell_type": "code",
"execution_count": 53,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x1da4f916cc0>]"
]
},
"execution_count": 53,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"from scipy.misc import imread\n",
"import matplotlib.cbook as cbook\n",
"\n",
"img = plt.imread(r'C:\\Users\\Koushik\\Documents\\football_field.png')\n",
"\"\"\" fig,ax = plt.plot(x,y,'ro')\n",
"plt.axis([0,120,0,80])\n",
"plt.imshow(img, zorder=0, extent=[0.5, 8.0, 1.0, 7.0])\n",
"ax.imshow(img) \"\"\"\n",
"\n",
"fig, ax = plt.subplots()\n",
"\n",
"ax.imshow(img, extent=[0, 120, 0, 80])\n",
"ax.plot(x, y,'ro')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"ename": "TypeError",
"evalue": "'str' object is not callable",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-20-daff6c53005c>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[0mstri\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;34m\"\"\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[1;32mfor\u001b[0m \u001b[0mx\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mshot\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mlocation\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 3\u001b[1;33m \u001b[0mstri\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mstri\u001b[0m \u001b[1;33m+\u001b[0m \u001b[0mstr\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 4\u001b[0m \u001b[0mprint\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mstri\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: 'str' object is not callable"
]
}
],
"source": [
"stri = \"\" \n",
"for x in shot.location:\n",
" stri = stri + str(x)\n",
"print(stri)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
"shot.location.to_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")\n"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
"loc= pd.read_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>X</th>\n",
" <th>Y</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>117</td>\n",
" <td>53</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>102</td>\n",
" <td>50</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>115</td>\n",
" <td>41</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>108</td>\n",
" <td>35</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>88</td>\n",
" <td>34</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>113</td>\n",
" <td>42</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>98</td>\n",
" <td>46</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>102</td>\n",
" <td>35</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>109</td>\n",
" <td>37</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" X Y\n",
"0 117 53\n",
"1 102 50\n",
"2 115 41\n",
"3 108 35\n",
"4 88 34\n",
"5 113 42\n",
"6 98 46\n",
"7 102 35\n",
"8 109 37"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"loc"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"ename": "AttributeError",
"evalue": "'DataFrame' object has no attribute 'Location'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-15-fcbab9a30745>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0ml\u001b[0m \u001b[1;33m=\u001b[0m\u001b[0mloc\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mLocation\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mstr\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msplit\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m','\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mexpand\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mTrue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\generic.py\u001b[0m in \u001b[0;36m__getattr__\u001b[1;34m(self, name)\u001b[0m\n\u001b[0;32m 4374\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_info_axis\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_can_hold_identifiers_and_holds_name\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4375\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 4376\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mobject\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m__getattribute__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 4377\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4378\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0m__setattr__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mAttributeError\u001b[0m: 'DataFrame' object has no attribute 'Location'"
]
}
],
"source": [
"l =loc.Location.str.split(',', expand=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"ename": "TypeError",
"evalue": "cannot compare a dtyped [object] array with a scalar of type [bool]",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mna_op\u001b[1;34m(x, y)\u001b[0m\n\u001b[0;32m 1303\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1304\u001b[1;33m \u001b[0mresult\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mop\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0my\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 1305\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mrand_\u001b[1;34m(left, right)\u001b[0m\n\u001b[0;32m 148\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0mrand_\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mleft\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mright\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 149\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0moperator\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mand_\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mright\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mleft\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 150\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: unsupported operand type(s) for &: 'dict' and 'dict'",
"\nDuring handling of the above exception, another exception occurred:\n",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mna_op\u001b[1;34m(x, y)\u001b[0m\n\u001b[0;32m 1320\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1321\u001b[1;33m \u001b[0mresult\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mlibops\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mscalar_binop\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0my\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mop\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 1322\u001b[0m \u001b[1;32mexcept\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\ops.pyx\u001b[0m in \u001b[0;36mpandas._libs.ops.scalar_binop\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mrand_\u001b[1;34m(left, right)\u001b[0m\n\u001b[0;32m 148\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0mrand_\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mleft\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mright\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 149\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0moperator\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mand_\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mright\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mleft\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 150\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: unsupported operand type(s) for &: 'bool' and 'dict'",
"\nDuring handling of the above exception, another exception occurred:\n",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-6-63503520b9da>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mdf\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mdf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mtype\u001b[0m \u001b[1;33m==\u001b[0m \u001b[1;33m{\u001b[0m\u001b[1;34m'id'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;36m16\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'name'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;34m'Shot'\u001b[0m\u001b[1;33m}\u001b[0m \u001b[1;33m&\u001b[0m \u001b[0mdf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mpossession_team\u001b[0m \u001b[1;33m==\u001b[0m \u001b[1;33m{\u001b[0m\u001b[1;34m'id'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;36m746\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'name'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;34m'Manchester City WFC'\u001b[0m\u001b[1;33m}\u001b[0m \u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mwrapper\u001b[1;34m(self, other)\u001b[0m\n\u001b[0;32m 1358\u001b[0m is_integer_dtype(np.asarray(other)) else fill_bool)\n\u001b[0;32m 1359\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1360\u001b[1;33m \u001b[0mres_values\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mna_op\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mvalues\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mother\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 1361\u001b[0m \u001b[0munfilled\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_constructor\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mres_values\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mindex\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1362\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mfiller\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0munfilled\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m__finalize__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\ops.py\u001b[0m in \u001b[0;36mna_op\u001b[1;34m(x, y)\u001b[0m\n\u001b[0;32m 1324\u001b[0m \u001b[1;34m\"with a scalar of type [{typ}]\"\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1325\u001b[0m .format(dtype=x.dtype,\n\u001b[1;32m-> 1326\u001b[1;33m typ=type(y).__name__))\n\u001b[0m\u001b[0;32m 1327\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1328\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: cannot compare a dtyped [object] array with a scalar of type [bool]"
]
}
],
"source": [
"df[df.type == {'id': 16, 'name': 'Shot'} & df.possession_team == {'id': 746, 'name': 'Manchester City WFC'} ]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 119,
"metadata": {},
"outputs": [],
"source": [
"ab = df[df.type == {'id': 16, 'name': 'Shot'} ]"
]
},
{
"cell_type": "code",
"execution_count": 135,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>0</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>186</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>192</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>196</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>204</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>583</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>695</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>749</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>765</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>832</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>843</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1060</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1176</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1179</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1291</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1400</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1486</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1622</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1651</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1666</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1828</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2136</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2240</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2297</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2325</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2453</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2532</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2692</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2695</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2741</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2813</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2820</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2867</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2910</th>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" 0\n",
"33 NaN\n",
"186 NaN\n",
"192 NaN\n",
"196 NaN\n",
"204 NaN\n",
"583 NaN\n",
"695 NaN\n",
"749 NaN\n",
"765 NaN\n",
"832 NaN\n",
"843 NaN\n",
"1060 NaN\n",
"1176 NaN\n",
"1179 NaN\n",
"1291 NaN\n",
"1400 NaN\n",
"1486 NaN\n",
"1622 NaN\n",
"1651 NaN\n",
"1666 NaN\n",
"1828 NaN\n",
"2136 NaN\n",
"2240 NaN\n",
"2297 NaN\n",
"2325 NaN\n",
"2453 NaN\n",
"2532 NaN\n",
"2692 NaN\n",
"2695 NaN\n",
"2741 NaN\n",
"2813 NaN\n",
"2820 NaN\n",
"2867 NaN\n",
"2910 NaN"
]
},
"execution_count": 135,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ab.location.str.split(\",\", n = 1, expand = True) "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 125,
"metadata": {},
"outputs": [],
"source": [
"loc = ab.location"
]
},
{
"cell_type": "code",
"execution_count": 137,
"metadata": {},
"outputs": [],
"source": [
"loc.to_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 145,
"metadata": {},
"outputs": [],
"source": [
"loc= pd.read_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [],
"source": [
"l =loc.Location.str.split(',', expand=True)\n",
"x_axis = np.asarray(l[0])\n",
"y_axis = np.asarray(l[1])\n",
"comb = np.column_stack((x_axis,y_axis))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([['117.0', ' 53.0'],\n",
" ['102.0', ' 50.0'],\n",
" ['115.0', ' 41.0'],\n",
" ['108.0', ' 35.0'],\n",
" ['88.0', ' 34.0'],\n",
" ['113.0', ' 42.0'],\n",
" ['98.0', ' 46.0'],\n",
" ['102.0', ' 35.0'],\n",
" ['109.0', ' 37.0']], dtype=object)"
]
},
"execution_count": 33,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"comb"
]
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {},
"outputs": [
{
"ename": "AttributeError",
"evalue": "module 'numpy' has no attribute 'comb'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-48-0269b9e16415>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mfinal\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mpd\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mDataFrame\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mnp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcomb\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mcolumns\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;34m'X'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'Y'\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;31mAttributeError\u001b[0m: module 'numpy' has no attribute 'comb'"
]
}
],
"source": [
"final = pd.DataFrame(data=npcomb,columns=['X','Y'])\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>X</th>\n",
" <th>Y</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>117.0</td>\n",
" <td>53.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>102.0</td>\n",
" <td>50.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>115.0</td>\n",
" <td>41.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>108.0</td>\n",
" <td>35.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>88.0</td>\n",
" <td>34.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>113.0</td>\n",
" <td>42.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>98.0</td>\n",
" <td>46.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>102.0</td>\n",
" <td>35.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>109.0</td>\n",
" <td>37.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" X Y\n",
"0 117.0 53.0\n",
"1 102.0 50.0\n",
"2 115.0 41.0\n",
"3 108.0 35.0\n",
"4 88.0 34.0\n",
"5 113.0 42.0\n",
"6 98.0 46.0\n",
"7 102.0 35.0\n",
"8 109.0 37.0"
]
},
"execution_count": 45,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"final"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 55,
"metadata": {},
"outputs": [],
"source": [
"final.to_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 50,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([['117.0', ' 53.0'],\n",
" ['102.0', ' 50.0'],\n",
" ['115.0', ' 41.0'],\n",
" ['108.0', ' 35.0'],\n",
" ['88.0', ' 34.0'],\n",
" ['113.0', ' 42.0'],\n",
" ['98.0', ' 46.0'],\n",
" ['102.0', ' 35.0'],\n",
" ['109.0', ' 37.0']], dtype=object)"
]
},
"execution_count": 50,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"comb"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array(['117.0', '102.0', '115.0', '108.0', '88.0', '113.0', '98.0',\n",
" '102.0', '109.0'], dtype=object)"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x_axis"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 51,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x1df385fd198>"
]
},
"execution_count": 51,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"import seaborn as sns; sns.set()\n",
"import matplotlib.pyplot as plt\n",
"sns.scatterplot(data = comb)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plt"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"sns.lmplot(x='Attack', y='Defense', data=comb,\n",
" fit_reg=False, # No regression line\n",
" hue='Stage') # Color by evolution stage"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 151,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 115.0, 25.0\n",
"1 109.0, 51.0\n",
"2 99.0, 52.0\n",
"3 107.0, 40.0\n",
"4 108.0, 32.0\n",
"5 108.0, 32.0\n",
"6 87.0, 41.0\n",
"7 108.0, 36.0\n",
"8 105.0, 43.0\n",
"9 117.0, 53.0\n",
"10 102.0, 50.0\n",
"11 112.0, 39.0\n",
"12 115.0, 54.0\n",
"13 102.0, 34.0\n",
"14 108.0, 47.0\n",
"15 94.0, 54.0\n",
"16 108.0, 27.0\n",
"17 114.0, 34.0\n",
"18 115.0, 41.0\n",
"19 109.0, 39.0\n",
"20 117.0, 31.0\n",
"21 91.0, 52.0\n",
"22 118.0, 39.0\n",
"23 108.0, 35.0\n",
"24 111.0, 32.0\n",
"25 88.0, 34.0\n",
"26 113.0, 42.0\n",
"27 107.0, 47.0\n",
"28 110.0, 36.0\n",
"29 98.0, 46.0\n",
"30 113.0, 42.0\n",
"31 109.0, 52.0\n",
"32 102.0, 35.0\n",
"33 109.0, 37.0\n",
"Name: Cordinates, dtype: object"
]
},
"execution_count": 151,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"loc.Cordinates"
]
},
{
"cell_type": "code",
"execution_count": 153,
"metadata": {},
"outputs": [
{
"ename": "AttributeError",
"evalue": "'Series' object has no attribute 'applymap'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-153-07d6bb01ed6c>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mx\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mloc\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mCordinates\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mapplymap\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mstr\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\generic.py\u001b[0m in \u001b[0;36m__getattr__\u001b[1;34m(self, name)\u001b[0m\n\u001b[0;32m 4374\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_info_axis\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_can_hold_identifiers_and_holds_name\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4375\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 4376\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mobject\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m__getattribute__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 4377\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4378\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0m__setattr__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mAttributeError\u001b[0m: 'Series' object has no attribute 'applymap'"
]
}
],
"source": [
"x = loc.Cordinates.applymap(str)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'loc' is not defined",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-1-6158028f8780>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0ml\u001b[0m \u001b[1;33m=\u001b[0m\u001b[0mloc\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mCordinates\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mstr\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msplit\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m','\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mexpand\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mTrue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2\u001b[0m \u001b[0ml\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mNameError\u001b[0m: name 'loc' is not defined"
]
}
],
"source": [
"l =loc.Cordinates.str.split(',', expand=True)\n",
"l"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 158,
"metadata": {},
"outputs": [],
"source": [
"x_axis = np.asarray(l[0])\n",
"y_axis = np.asarray(l[1])"
]
},
{
"cell_type": "code",
"execution_count": 159,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array(['115.0', '109.0', '99.0', '107.0', '108.0', '108.0', '87.0',\n",
" '108.0', '105.0', '117.0', '102.0', '112.0', '115.0', '102.0',\n",
" '108.0', '94.0', '108.0', '114.0', '115.0', '109.0', '117.0',\n",
" '91.0', '118.0', '108.0', '111.0', '88.0', '113.0', '107.0',\n",
" '110.0', '98.0', '113.0', '109.0', '102.0', '109.0'], dtype=object)"
]
},
"execution_count": 159,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x_axis"
]
},
{
"cell_type": "code",
"execution_count": 160,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([' 25.0', ' 51.0', ' 52.0', ' 40.0', ' 32.0', ' 32.0', ' 41.0',\n",
" ' 36.0', ' 43.0', ' 53.0', ' 50.0', ' 39.0', ' 54.0', ' 34.0',\n",
" ' 47.0', ' 54.0', ' 27.0', ' 34.0', ' 41.0', ' 39.0', ' 31.0',\n",
" ' 52.0', ' 39.0', ' 35.0', ' 32.0', ' 34.0', ' 42.0', ' 47.0',\n",
" ' 36.0', ' 46.0', ' 42.0', ' 52.0', ' 35.0', ' 37.0'], dtype=object)"
]
},
"execution_count": 160,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"y_axis"
]
},
{
"cell_type": "code",
"execution_count": 165,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"plt.plot(x_axis,y_axis,'ro')\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 123,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([list([115.0, 25.0]), list([109.0, 51.0]), list([99.0, 52.0]),\n",
" list([107.0, 40.0]), list([108.0, 32.0]), list([108.0, 32.0]),\n",
" list([87.0, 41.0]), list([108.0, 36.0]), list([105.0, 43.0]),\n",
" list([117.0, 53.0]), list([102.0, 50.0]), list([112.0, 39.0]),\n",
" list([115.0, 54.0]), list([102.0, 34.0]), list([108.0, 47.0]),\n",
" list([94.0, 54.0]), list([108.0, 27.0]), list([114.0, 34.0]),\n",
" list([115.0, 41.0]), list([109.0, 39.0]), list([117.0, 31.0]),\n",
" list([91.0, 52.0]), list([118.0, 39.0]), list([108.0, 35.0]),\n",
" list([111.0, 32.0]), list([88.0, 34.0]), list([113.0, 42.0]),\n",
" list([107.0, 47.0]), list([110.0, 36.0]), list([98.0, 46.0]),\n",
" list([113.0, 42.0]), list([109.0, 52.0]), list([102.0, 35.0]),\n",
" list([109.0, 37.0])], dtype=object)"
]
},
"execution_count": 123,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"num"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 108,
"metadata": {},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'keras'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-108-88d96843a926>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[1;32mimport\u001b[0m \u001b[0mkeras\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'keras'"
]
}
],
"source": [
"import keras"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 63,
"metadata": {},
"outputs": [],
"source": [
"conc = list(zip(eve_type,eve_loc))"
]
},
{
"cell_type": "code",
"execution_count": 105,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[({'id': 35, 'name': 'Starting XI'}, nan),\n",
" ({'id': 35, 'name': 'Starting XI'}, nan),\n",
" ({'id': 18, 'name': 'Half Start'}, nan),\n",
" ({'id': 18, 'name': 'Half Start'}, nan),\n",
" ({'id': 30, 'name': 'Pass'}, [61.0, 40.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [63.0, 37.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [47.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [69.0, 33.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 5.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [35.0, 69.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [108.0, 10.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [11.0, 72.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [6.0, 43.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [62.0, 12.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [59.0, 71.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [78.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [41.0, 71.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 8.0]),\n",
" ({'id': 6, 'name': 'Block'}, [78.0, 8.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [72.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [43.0, 66.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [58.0, 76.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [58.0, 76.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [48.0, 8.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 71.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [79.0, 70.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [37.0, 10.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [44.0, 17.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [95.0, 23.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [23.0, 59.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [98.0, 22.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [3.0, 59.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [118.0, 22.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [115.0, 25.0]),\n",
" ({'id': 6, 'name': 'Block'}, [4.0, 47.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 54.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [119.0, 2.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [115.0, 33.0]),\n",
" ({'id': 6, 'name': 'Block'}, [115.0, 36.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [5.0, 48.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [49.0, 25.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [67.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [54.0, 24.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [47.0, 10.0]),\n",
" ({'id': 6, 'name': 'Block'}, [68.0, 55.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [72.0, 50.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [32.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 26.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [96.0, 5.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [22.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 5.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [87.0, 16.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [30.0, 57.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [87.0, 17.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [15.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [105.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [100.0, 40.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [90.0, 54.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [30.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [90.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [101.0, 59.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [23.0, 22.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [115.0, 59.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [6.0, 22.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [120.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [118.0, 41.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 39.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [10.0, 38.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [9.0, 41.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [81.0, 38.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [38.0, 47.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [82.0, 32.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [87.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 40.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 55.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 58.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 69.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 10.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [74.0, 74.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [41.0, 7.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [80.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [80.0, 78.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [43.0, 7.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [50.0, 3.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [71.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [78.0, 76.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [43.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 77.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [84.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [81.0, 69.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [39.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [83.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [93.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [90.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [92.0, 55.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 28.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 24.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [29.0, 24.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [25.0, 28.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [25.0, 27.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [26.0, 14.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [93.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [32.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 18.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [24.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [24.0, 53.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [34.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [75.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [43.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [40.0, 61.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [69.0, 21.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [69.0, 22.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [52.0, 59.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [56.0, 60.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [54.0, 7.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [65.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [43.0, 76.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 76.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [36.0, 64.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 53.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [32.0, 27.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 26.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 8.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [83.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [38.0, 7.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [58.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [61.0, 14.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [53.0, 6.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [68.0, 75.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [73.0, 70.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [88.0, 64.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [32.0, 23.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [87.0, 60.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [34.0, 21.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [35.0, 29.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [40.0, 33.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [64.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [57.0, 29.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [57.0, 28.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [66.0, 62.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [66.0, 62.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [53.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 3.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [38.0, 9.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 13.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [25.0, 25.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [21.0, 27.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [44.0, 75.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [76.0, 4.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [47.0, 78.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [76.0, 2.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [51.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [42.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [68.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [47.0, 73.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [57.0, 7.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [63.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [63.0, 70.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [67.0, 78.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [54.0, 3.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [65.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [66.0, 1.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [29.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [91.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [87.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [82.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [81.0, 2.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [88.0, 65.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [14.0, 24.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [116.0, 57.0]),\n",
" ({'id': 6, 'name': 'Block'}, [5.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [6.0, 15.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [116.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [110.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [90.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [104.0, 48.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [102.0, 45.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [17.0, 28.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [10.0, 27.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [113.0, 55.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [111.0, 54.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [109.0, 51.0]),\n",
" ({'id': 6, 'name': 'Block'}, [9.0, 37.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 39.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [120.0, 80.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [13.0, 32.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [99.0, 54.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [99.0, 52.0]),\n",
" ({'id': 6, 'name': 'Block'}, [13.0, 30.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 40.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [111.0, 34.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [107.0, 40.0]),\n",
" ({'id': 6, 'name': 'Block'}, [9.0, 44.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [104.0, 36.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [15.0, 42.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [8.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [109.0, 29.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [8.0, 45.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [108.0, 32.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 43.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 30, 'name': 'Pass'}, [44.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [112.0, 65.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [6.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [11.0, 69.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 54.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [11.0, 33.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [10.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [27.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 59.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [78.0, 30.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [39.0, 52.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 52.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [43.0, 78.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [72.0, 3.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [48.0, 78.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [43.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [72.0, 73.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [74.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [49.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [42.0, 3.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [40.0, 3.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [75.0, 71.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [64.0, 22.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [61.0, 60.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [38.0, 27.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [77.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [77.0, 59.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [71.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [75.0, 41.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [81.0, 7.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [36.0, 77.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [91.0, 13.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [97.0, 6.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [25.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [86.0, 14.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [35.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [85.0, 15.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [21.0, 37.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [99.0, 41.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [90.0, 53.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [90.0, 53.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 63.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [25.0, 12.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 64.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [87.0, 61.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [31.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [89.0, 65.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [104.0, 60.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [5.0, 26.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [16.0, 39.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [23.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [36.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [38.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [36.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [31.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [11.0, 53.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [13.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [91.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [41.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [80.0, 16.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [93.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [102.0, 9.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [11.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [114.0, 17.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [117.0, 24.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [5.0, 45.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [104.0, 51.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [17.0, 33.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [95.0, 48.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [29.0, 33.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 47.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [87.0, 25.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 25.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 9.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [15.0, 70.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [15.0, 69.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [106.0, 12.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [114.0, 19.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [7.0, 7.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [36.0, 17.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [90.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [28.0, 16.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [96.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [97.0, 53.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 53.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 55.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [88.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [85.0, 28.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [108.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [107.0, 47.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [107.0, 36.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [12.0, 41.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [107.0, 36.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [23.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [95.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [29.0, 31.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 41.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 42.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [36.0, 33.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [85.0, 48.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [35.0, 42.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 41.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 66.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [70.0, 18.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [76.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [69.0, 24.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [42.0, 50.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [67.0, 33.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [58.0, 46.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [57.0, 47.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [73.0, 55.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [72.0, 56.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [56.0, 30.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [54.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [56.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [78.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [45.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [70.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 39.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [51.0, 38.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [54.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [79.0, 18.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [37.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [77.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [59.0, 18.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [58.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [69.0, 24.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [52.0, 57.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [62.0, 23.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [56.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 46.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 48.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [66.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [65.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [64.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [64.0, 14.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [66.0, 3.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [58.0, 76.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [67.0, 3.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [38.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 17.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [83.0, 17.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 19.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [75.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [91.0, 3.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [30.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [30.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [26.0, 79.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 71.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [82.0, 10.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [31.0, 76.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [87.0, 6.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 5.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [79.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [79.0, 4.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 19.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [40.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [43.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 71.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [63.0, 16.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [57.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [72.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [93.0, 70.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [11.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 24.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [28.0, 5.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [69.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 10.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [71.0, 2.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [82.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [106.0, 6.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [12.0, 75.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [116.0, 19.0]),\n",
" ({'id': 6, 'name': 'Block'}, [5.0, 53.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [117.0, 23.0]),\n",
" ({'id': 6, 'name': 'Block'}, [5.0, 57.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [111.0, 32.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [10.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [21.0, 58.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [97.0, 22.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [98.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [20.0, 59.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [14.0, 64.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [14.0, 64.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [82.0, 72.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [38.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 47.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [53.0, 46.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 45.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 8.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [91.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [105.0, 37.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [16.0, 48.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [15.0, 65.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [57.0, 66.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [57.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [64.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [70.0, 25.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [72.0, 29.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [23.0, 62.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [113.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [111.0, 10.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [115.0, 12.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [10.0, 65.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [116.0, 12.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [110.0, 47.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [9.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 1.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [84.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 4.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [73.0, 70.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [49.0, 11.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [72.0, 70.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [51.0, 9.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [71.0, 72.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [48.0, 8.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [51.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [64.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [63.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [47.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [54.0, 26.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [27.0, 35.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 65.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [41.0, 61.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [80.0, 20.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [43.0, 56.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [55.0, 22.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [65.0, 56.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [47.0, 22.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [74.0, 59.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [84.0, 77.0]),\n",
" ({'id': 28, 'name': 'Shield'}, [38.0, 2.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [34.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [49.0, 2.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [73.0, 79.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [46.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [75.0, 70.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [71.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [71.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [32.0, 11.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [78.0, 61.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [44.0, 23.0]),\n",
" ({'id': 3, 'name': 'Dispossessed'}, [50.0, 19.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [71.0, 62.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [74.0, 59.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [63.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [72.0, 33.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [96.0, 62.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 24.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [44.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [44.0, 38.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [66.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [58.0, 45.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [58.0, 24.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [47.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [44.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 45.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 8.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [85.0, 15.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [24.0, 48.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [95.0, 31.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 31.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [109.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [2.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [20.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [20.0, 67.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [36.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 57.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [34.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 7.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [32.0, 77.0]),\n",
" ({'id': 6, 'name': 'Block'}, [83.0, 10.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [65.0, 8.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [48.0, 77.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [70.0, 12.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [76.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [76.0, 21.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [46.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [79.0, 16.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [37.0, 61.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [81.0, 18.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [86.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [32.0, 55.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [29.0, 57.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [90.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [29.0, 59.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [28.0, 53.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [89.0, 28.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 50.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [15.0, 33.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [83.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 12.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 2.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 77.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [38.0, 1.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [84.0, 80.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [32.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [88.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [88.0, 70.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [37.0, 2.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [80.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [80.0, 79.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 30, 'name': 'Pass'}, [10.0, 4.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [94.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [23.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [21.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [19.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 28.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [38.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [88.0, 69.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [41.0, 15.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [67.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [46.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [76.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [47.0, 75.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [23.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [2.0, 30.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [117.0, 50.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [118.0, 50.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [3.0, 31.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [118.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [2.0, 34.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [11.0, 45.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [46.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [96.0, 24.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [16.0, 53.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [16.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 36.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 34.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [36.0, 16.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 25.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [48.0, 23.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [41.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [46.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 21.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [69.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [46.0, 33.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [73.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [62.0, 8.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [58.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [77.0, 14.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [37.0, 56.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [85.0, 35.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [41.0, 42.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 65.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [48.0, 57.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [70.0, 18.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [69.0, 23.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [30.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [94.0, 24.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [12.0, 54.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [109.0, 27.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [108.0, 32.0]),\n",
" ({'id': 6, 'name': 'Block'}, [11.0, 47.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 41.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [109.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [107.0, 74.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [21.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [93.0, 67.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [90.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 54.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [21.0, 27.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 54.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [104.0, 54.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [91.0, 62.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [26.0, 22.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [43.0, 17.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [52.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [62.0, 36.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [64.0, 43.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 69.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [20.0, 22.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [102.0, 59.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [19.0, 22.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [112.0, 56.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [5.0, 29.0]),\n",
" ({'id': 22, 'name': 'Foul Committed'}, [110.0, 55.0]),\n",
" ({'id': 21, 'name': 'Foul Won'}, [11.0, 26.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [11.0, 25.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [65.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [25.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [36.0, 60.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 60.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [94.0, 37.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [14.0, 42.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [14.0, 34.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [81.0, 69.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [38.0, 12.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [91.0, 65.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 54.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [37.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 38.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [87.0, 44.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 49.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [25.0, 39.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 40.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 57.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [88.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [28.0, 58.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [38.0, 76.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [78.0, 7.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [38.0, 76.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [70.0, 20.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 60.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 47.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [59.0, 32.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [69.0, 29.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [90.0, 7.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [27.0, 70.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [18.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [108.0, 14.0]),\n",
" ({'id': 6, 'name': 'Block'}, [8.0, 52.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [112.0, 14.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [10.0, 69.0]),\n",
" ({'id': 6, 'name': 'Block'}, [113.0, 12.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 75.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [89.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 77.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [25.0, 76.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [25.0, 78.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [96.0, 3.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [10.0, 63.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [113.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [102.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [19.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [6.0, 13.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [8.0, 9.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [109.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [12.0, 1.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [21.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [24.0, 10.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [10.0, 11.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [105.0, 69.0]),\n",
" ({'id': 22, 'name': 'Foul Committed'}, [99.0, 73.0]),\n",
" ({'id': 21, 'name': 'Foul Won'}, [22.0, 8.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 13.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [25.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [16.0, 20.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [16.0, 20.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [29.0, 9.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 15.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [69.0, 64.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [46.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [42.0, 16.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [41.0, 6.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [76.0, 12.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [50.0, 64.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [89.0, 38.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [95.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [99.0, 57.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 51.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [80.0, 38.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [83.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [78.0, 22.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [81.0, 23.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 38.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [32.0, 49.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [87.0, 41.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [7.0, 45.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [49.0, 63.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [68.0, 18.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [49.0, 63.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [46.0, 22.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [72.0, 59.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [53.0, 47.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [69.0, 33.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [45.0, 73.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [79.0, 6.0]),\n",
" ({'id': 28, 'name': 'Shield'}, [38.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 69.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [86.0, 8.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [34.0, 75.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [82.0, 4.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [34.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 63.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [79.0, 13.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [70.0, 18.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [54.0, 68.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [67.0, 13.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [80.0, 78.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [43.0, 6.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [49.0, 9.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [67.0, 72.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 68.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [68.0, 13.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [57.0, 76.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [56.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [40.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [32.0, 43.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [85.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 36.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 10.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [52.0, 9.0]),\n",
" ({'id': 6, 'name': 'Block'}, [67.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 51.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [100.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [95.0, 44.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [22.0, 36.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [16.0, 44.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [102.0, 37.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [109.0, 26.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [111.0, 24.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [10.0, 45.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [111.0, 35.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [108.0, 36.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 44.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 17, 'name': 'Pressure'}, [99.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [20.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [39.0, 59.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [81.0, 22.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [92.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [92.0, 24.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [97.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [101.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [102.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [102.0, 34.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [104.0, 44.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [13.0, 32.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [14.0, 35.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [105.0, 43.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 41.0]),\n",
" ({'id': 8, 'name': 'Offside'}, [116.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [7.0, 41.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 69.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [63.0, 72.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [57.0, 6.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [65.0, 10.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [55.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [65.0, 10.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [70.0, 20.0]),\n",
" ({'id': 6, 'name': 'Block'}, [56.0, 66.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [46.0, 57.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [49.0, 57.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [72.0, 24.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [71.0, 22.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [79.0, 7.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [80.0, 6.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [73.0, 9.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [49.0, 63.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [66.0, 9.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [62.0, 31.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [61.0, 30.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [43.0, 59.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [70.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [69.0, 20.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [51.0, 57.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 45.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [63.0, 34.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [56.0, 45.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [52.0, 44.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [66.0, 35.0]),\n",
" ({'id': 22, 'name': 'Foul Committed'}, [68.0, 36.0]),\n",
" ({'id': 21, 'name': 'Foul Won'}, [53.0, 45.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [50.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [33.0, 47.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 43.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [32.0, 18.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [83.0, 71.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [32.0, 14.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [79.0, 24.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [40.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [80.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [72.0, 26.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [44.0, 58.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [39.0, 51.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 50.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [12.0, 44.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [16.0, 51.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [43.0, 10.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [85.0, 64.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [31.0, 21.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [88.0, 53.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [82.0, 59.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [34.0, 24.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [82.0, 60.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [77.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [79.0, 67.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [30.0, 28.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [90.0, 51.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [85.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 77.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [23.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [98.0, 62.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [5.0, 29.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [116.0, 53.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [117.0, 53.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [2.0, 35.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [5.0, 25.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [115.0, 55.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [112.0, 62.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [112.0, 62.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [115.0, 27.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [4.0, 51.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [119.0, 26.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [101.0, 50.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [4.0, 48.0]),\n",
" ({'id': 16, 'name': 'Shot'}, [102.0, 50.0]),\n",
" ({'id': 6, 'name': 'Block'}, [10.0, 38.0]),\n",
" ({'id': 23, 'name': 'Goal Keeper'}, [7.0, 37.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [120.0, 1.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [12.0, 44.0]),\n",
" ({'id': 9, 'name': 'Clearance'}, [13.0, 44.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [26.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 41.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [26.0, 36.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 31.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [57.0, 65.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [49.0, 28.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [95.0, 56.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [109.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [113.0, 66.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [92.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [87.0, 73.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [70.0, 68.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [76.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [62.0, 40.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [62.0, 37.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [69.0, 20.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [70.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [91.0, 7.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 2.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 9.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [70.0, 11.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [54.0, 28.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [54.0, 31.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [56.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 62.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [84.0, 77.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [83.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [75.0, 71.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [75.0, 70.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [58.0, 73.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [59.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [74.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [71.0, 76.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [80.0, 78.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [80.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 74.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [91.0, 73.0]),\n",
" ({'id': 2, 'name': 'Ball Recovery'}, [34.0, 7.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [88.0, 73.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [88.0, 70.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [32.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [85.0, 4.0]),\n",
" ({'id': 5, 'name': 'Camera On'}, nan),\n",
" ({'id': 30, 'name': 'Pass'}, [29.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 41.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [87.0, 43.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 42.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [44.0, 41.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [45.0, 38.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 22.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [47.0, 20.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [89.0, 23.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [90.0, 24.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [97.0, 22.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [24.0, 58.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [8.0, 43.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [110.0, 26.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [8.0, 43.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [22.0, 63.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [22.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [12.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [28.0, 68.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 65.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [30.0, 65.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [25.0, 69.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [25.0, 69.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [32.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [42.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [83.0, 60.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [40.0, 22.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [43.0, 19.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [73.0, 66.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [42.0, 19.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [52.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [49.0, 4.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [41.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [50.0, 3.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [45.0, 2.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [42.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 24.0]),\n",
" ({'id': 36, 'name': 'Tactical Shift'}, nan),\n",
" ({'id': 30, 'name': 'Pass'}, [27.0, 27.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 56.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 57.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [13.0, 50.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [15.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [22.0, 19.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 18.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [42.0, 28.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [81.0, 52.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 31.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [14.0, 44.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [15.0, 44.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [23.0, 64.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [93.0, 15.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [21.0, 66.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [35.0, 77.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [34.0, 64.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [33.0, 66.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [76.0, 7.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [47.0, 75.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [47.0, 70.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [74.0, 11.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [55.0, 80.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 76.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [85.0, 18.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 75.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [36.0, 55.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [39.0, 49.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [66.0, 8.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [69.0, 9.0]),\n",
" ({'id': 4, 'name': 'Duel'}, [52.0, 72.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [70.0, 11.0]),\n",
" ({'id': 39, 'name': 'Dribbled Past'}, [68.0, 2.0]),\n",
" ({'id': 14, 'name': 'Dribble'}, [53.0, 79.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [50.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [50.0, 58.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [54.0, 63.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [37.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [37.0, 74.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [33.0, 57.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [85.0, 32.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 51.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [30.0, 23.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [30.0, 21.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [38.0, 10.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [78.0, 74.0]),\n",
" ({'id': 38, 'name': 'Miscontrol'}, [46.0, 3.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [58.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [31.0, 7.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [59.0, 74.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [90.0, 1.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [78.0, 8.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [82.0, 12.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [43.0, 73.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [74.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [74.0, 6.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [74.0, 17.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [74.0, 17.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [78.0, 5.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [82.0, 6.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [86.0, 15.0]),\n",
" ({'id': 17, 'name': 'Pressure'}, [30.0, 69.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 15.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [86.0, 30.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [86.0, 30.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [99.0, 41.0]),\n",
" ({'id': 10, 'name': 'Interception'}, [25.0, 44.0]),\n",
" ({'id': 30, 'name': 'Pass'}, [26.0, 46.0]),\n",
" ({'id': 42, 'name': 'Ball Receipt*'}, [35.0, 54.0]),\n",
" ...]"
]
},
"execution_count": 105,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"conc"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 92,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 {'id': 35, 'name': 'Starting XI'}\n",
"1 {'id': 35, 'name': 'Starting XI'}\n",
"2 {'id': 18, 'name': 'Half Start'}\n",
"3 {'id': 18, 'name': 'Half Start'}\n",
"4 {'id': 30, 'name': 'Pass'}\n",
"5 {'id': 42, 'name': 'Ball Receipt*'}\n",
"6 {'id': 17, 'name': 'Pressure'}\n",
"7 {'id': 30, 'name': 'Pass'}\n",
"8 {'id': 42, 'name': 'Ball Receipt*'}\n",
"9 {'id': 17, 'name': 'Pressure'}\n",
"10 {'id': 38, 'name': 'Miscontrol'}\n",
"11 {'id': 17, 'name': 'Pressure'}\n",
"12 {'id': 30, 'name': 'Pass'}\n",
"13 {'id': 30, 'name': 'Pass'}\n",
"14 {'id': 42, 'name': 'Ball Receipt*'}\n",
"15 {'id': 17, 'name': 'Pressure'}\n",
"16 {'id': 30, 'name': 'Pass'}\n",
"17 {'id': 42, 'name': 'Ball Receipt*'}\n",
"18 {'id': 6, 'name': 'Block'}\n",
"19 {'id': 17, 'name': 'Pressure'}\n",
"20 {'id': 30, 'name': 'Pass'}\n",
"21 {'id': 42, 'name': 'Ball Receipt*'}\n",
"22 {'id': 30, 'name': 'Pass'}\n",
"23 {'id': 17, 'name': 'Pressure'}\n",
"24 {'id': 42, 'name': 'Ball Receipt*'}\n",
"25 {'id': 38, 'name': 'Miscontrol'}\n",
"26 {'id': 2, 'name': 'Ball Recovery'}\n",
"27 {'id': 30, 'name': 'Pass'}\n",
"28 {'id': 42, 'name': 'Ball Receipt*'}\n",
"29 {'id': 39, 'name': 'Dribbled Past'}\n",
" ... \n",
"2930 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2931 {'id': 9, 'name': 'Clearance'}\n",
"2932 {'id': 17, 'name': 'Pressure'}\n",
"2933 {'id': 30, 'name': 'Pass'}\n",
"2934 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2935 {'id': 30, 'name': 'Pass'}\n",
"2936 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2937 {'id': 30, 'name': 'Pass'}\n",
"2938 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2939 {'id': 17, 'name': 'Pressure'}\n",
"2940 {'id': 30, 'name': 'Pass'}\n",
"2941 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2942 {'id': 9, 'name': 'Clearance'}\n",
"2943 {'id': 30, 'name': 'Pass'}\n",
"2944 {'id': 2, 'name': 'Ball Recovery'}\n",
"2945 {'id': 30, 'name': 'Pass'}\n",
"2946 {'id': 17, 'name': 'Pressure'}\n",
"2947 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2948 {'id': 9, 'name': 'Clearance'}\n",
"2949 {'id': 30, 'name': 'Pass'}\n",
"2950 {'id': 42, 'name': 'Ball Receipt*'}\n",
"2951 {'id': 17, 'name': 'Pressure'}\n",
"2952 {'id': 30, 'name': 'Pass'}\n",
"2953 {'id': 6, 'name': 'Block'}\n",
"2954 {'id': 30, 'name': 'Pass'}\n",
"2955 {'id': 30, 'name': 'Pass'}\n",
"2956 {'id': 30, 'name': 'Pass'}\n",
"2957 {'id': 9, 'name': 'Clearance'}\n",
"2958 {'id': 34, 'name': 'Half End'}\n",
"2959 {'id': 34, 'name': 'Half End'}\n",
"Name: type, Length: 2960, dtype: object"
]
},
"execution_count": 92,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.type"
]
},
{
"cell_type": "code",
"execution_count": 98,
"metadata": {},
"outputs": [],
"source": [
"df.type.to_csv(r\"C:\\Users\\Koushik\\Downloads\\hope.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 104,
"metadata": {},
"outputs": [
{
"ename": "TypeError",
"evalue": "unsupported type: <class 'str'>",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-104-abe0b0c58c30>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mdf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mtype\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mto_dict\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'series'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\series.py\u001b[0m in \u001b[0;36mto_dict\u001b[1;34m(self, into)\u001b[0m\n\u001b[0;32m 1340\u001b[0m \"\"\"\n\u001b[0;32m 1341\u001b[0m \u001b[1;31m# GH16122\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1342\u001b[1;33m \u001b[0minto_c\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mcom\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mstandardize_mapping\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0minto\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 1343\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0minto_c\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mcompat\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0miteritems\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1344\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\common.py\u001b[0m in \u001b[0;36mstandardize_mapping\u001b[1;34m(into)\u001b[0m\n\u001b[0;32m 470\u001b[0m \u001b[0minto\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mtype\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0minto\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 471\u001b[0m \u001b[1;32mif\u001b[0m \u001b[1;32mnot\u001b[0m \u001b[0missubclass\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0minto\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mcollections\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mMapping\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 472\u001b[1;33m \u001b[1;32mraise\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'unsupported type: {into}'\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mformat\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0minto\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0minto\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 473\u001b[0m \u001b[1;32melif\u001b[0m \u001b[0minto\u001b[0m \u001b[1;33m==\u001b[0m \u001b[0mcollections\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdefaultdict\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 474\u001b[0m raise TypeError(\n",
"\u001b[1;31mTypeError\u001b[0m: unsupported type: <class 'str'>"
]
}
],
"source": [
"df.type.to_dict('series')\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 91,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"' '"
]
},
"execution_count": 91,
"metadata": {},
"output_type": "execute_result"
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 82,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'id': 35, 'name': 'Starting XI'}"
]
},
"execution_count": 82,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"a"
]
},
{
"cell_type": "code",
"execution_count": 85,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"\"{'id': 35, 'name': 'Starting XI'}\""
]
},
"execution_count": 85,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"str(a)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 68,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<bound method NDFrame.describe of bad_behaviour ball_receipt \\\n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
"4 NaN NaN \n",
"5 NaN NaN \n",
"6 NaN NaN \n",
"7 NaN NaN \n",
"8 NaN NaN \n",
"9 NaN NaN \n",
"10 NaN NaN \n",
"11 NaN NaN \n",
"12 NaN NaN \n",
"13 NaN NaN \n",
"14 NaN {'outcome': {'id': 9, 'name': 'Incomplete'}} \n",
"15 NaN NaN \n",
"16 NaN NaN \n",
"17 NaN {'outcome': {'id': 9, 'name': 'Incomplete'}} \n",
"18 NaN NaN \n",
"19 NaN NaN \n",
"20 NaN NaN \n",
"21 NaN NaN \n",
"22 NaN NaN \n",
"23 NaN NaN \n",
"24 NaN NaN \n",
"25 NaN NaN \n",
"26 NaN NaN \n",
"27 NaN NaN \n",
"28 NaN NaN \n",
"29 NaN NaN \n",
"... ... ... \n",
"2930 NaN {'outcome': {'id': 9, 'name': 'Incomplete'}} \n",
"2931 NaN NaN \n",
"2932 NaN NaN \n",
"2933 NaN NaN \n",
"2934 NaN NaN \n",
"2935 NaN NaN \n",
"2936 NaN NaN \n",
"2937 NaN NaN \n",
"2938 NaN NaN \n",
"2939 NaN NaN \n",
"2940 NaN NaN \n",
"2941 NaN {'outcome': {'id': 9, 'name': 'Incomplete'}} \n",
"2942 NaN NaN \n",
"2943 NaN NaN \n",
"2944 NaN NaN \n",
"2945 NaN NaN \n",
"2946 NaN NaN \n",
"2947 NaN {'outcome': {'id': 9, 'name': 'Incomplete'}} \n",
"2948 NaN NaN \n",
"2949 NaN NaN \n",
"2950 NaN NaN \n",
"2951 NaN NaN \n",
"2952 NaN NaN \n",
"2953 NaN NaN \n",
"2954 NaN NaN \n",
"2955 NaN NaN \n",
"2956 NaN NaN \n",
"2957 NaN NaN \n",
"2958 NaN NaN \n",
"2959 NaN NaN \n",
"\n",
" ball_recovery block dribble duel duration foul_committed foul_won \\\n",
"0 NaN NaN NaN NaN 0.000 NaN NaN \n",
"1 NaN NaN NaN NaN 0.000 NaN NaN \n",
"2 NaN NaN NaN NaN 8.160 NaN NaN \n",
"3 NaN NaN NaN NaN 7.960 NaN NaN \n",
"4 NaN NaN NaN NaN 0.000 NaN NaN \n",
"5 NaN NaN NaN NaN NaN NaN NaN \n",
"6 NaN NaN NaN NaN 0.373 NaN NaN \n",
"7 NaN NaN NaN NaN 1.640 NaN NaN \n",
"8 NaN NaN NaN NaN NaN NaN NaN \n",
"9 NaN NaN NaN NaN 0.733 NaN NaN \n",
"10 NaN NaN NaN NaN NaN NaN NaN \n",
"11 NaN NaN NaN NaN 0.773 NaN NaN \n",
"12 NaN NaN NaN NaN 2.587 NaN NaN \n",
"13 NaN NaN NaN NaN 1.173 NaN NaN \n",
"14 NaN NaN NaN NaN NaN NaN NaN \n",
"15 NaN NaN NaN NaN 0.160 NaN NaN \n",
"16 NaN NaN NaN NaN 0.147 NaN NaN \n",
"17 NaN NaN NaN NaN NaN NaN NaN \n",
"18 NaN NaN NaN NaN NaN NaN NaN \n",
"19 NaN NaN NaN NaN 0.240 NaN NaN \n",
"20 NaN NaN NaN NaN 1.253 NaN NaN \n",
"21 NaN NaN NaN NaN NaN NaN NaN \n",
"22 NaN NaN NaN NaN 1.506 NaN NaN \n",
"23 NaN NaN NaN NaN 0.360 NaN NaN \n",
"24 NaN NaN NaN NaN NaN NaN NaN \n",
"25 NaN NaN NaN NaN NaN NaN NaN \n",
"26 NaN NaN NaN NaN NaN NaN NaN \n",
"27 NaN NaN NaN NaN 3.453 NaN NaN \n",
"28 NaN NaN NaN NaN NaN NaN NaN \n",
"29 NaN NaN NaN NaN NaN NaN NaN \n",
"... ... ... ... ... ... ... ... \n",
"2930 NaN NaN NaN NaN NaN NaN NaN \n",
"2931 NaN NaN NaN NaN NaN NaN NaN \n",
"2932 NaN NaN NaN NaN 0.040 NaN NaN \n",
"2933 NaN NaN NaN NaN 0.773 NaN NaN \n",
"2934 NaN NaN NaN NaN NaN NaN NaN \n",
"2935 NaN NaN NaN NaN 0.920 NaN NaN \n",
"2936 NaN NaN NaN NaN NaN NaN NaN \n",
"2937 NaN NaN NaN NaN 1.040 NaN NaN \n",
"2938 NaN NaN NaN NaN NaN NaN NaN \n",
"2939 NaN NaN NaN NaN 2.600 NaN NaN \n",
"2940 NaN NaN NaN NaN 1.507 NaN NaN \n",
"2941 NaN NaN NaN NaN NaN NaN NaN \n",
"2942 NaN NaN NaN NaN NaN NaN NaN \n",
"2943 NaN NaN NaN NaN 1.947 NaN NaN \n",
"2944 NaN NaN NaN NaN NaN NaN NaN \n",
"2945 NaN NaN NaN NaN 6.240 NaN NaN \n",
"2946 NaN NaN NaN NaN 0.720 NaN NaN \n",
"2947 NaN NaN NaN NaN NaN NaN NaN \n",
"2948 NaN NaN NaN NaN NaN NaN NaN \n",
"2949 NaN NaN NaN NaN 1.680 NaN NaN \n",
"2950 NaN NaN NaN NaN NaN NaN NaN \n",
"2951 NaN NaN NaN NaN 0.453 NaN NaN \n",
"2952 NaN NaN NaN NaN 0.520 NaN NaN \n",
"2953 NaN NaN NaN NaN NaN NaN NaN \n",
"2954 NaN NaN NaN NaN 2.280 NaN NaN \n",
"2955 NaN NaN NaN NaN 2.600 NaN NaN \n",
"2956 NaN NaN NaN NaN 3.480 NaN NaN \n",
"2957 NaN NaN NaN NaN NaN NaN NaN \n",
"2958 NaN NaN NaN NaN NaN NaN NaN \n",
"2959 NaN NaN NaN NaN NaN NaN NaN \n",
"\n",
" goalkeeper ... possession_team \\\n",
"0 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"1 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"3 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"4 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"5 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"6 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"7 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"8 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"9 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"10 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"11 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"12 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"13 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"14 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"15 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"16 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"17 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"18 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"19 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"20 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"21 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"22 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"23 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"24 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"25 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"26 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"27 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"28 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"29 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"... ... ... ... \n",
"2930 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2931 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2932 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2933 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2934 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2935 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2936 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2937 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2938 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2939 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2940 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2941 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2942 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2943 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2944 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2945 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2946 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2947 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2948 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2949 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2950 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2951 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2952 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2953 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2954 NaN ... {'id': 971, 'name': 'Chelsea LFC'} \n",
"2955 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2956 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2957 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2958 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"2959 NaN ... {'id': 746, 'name': 'Manchester City WFC'} \n",
"\n",
" related_events second shot \\\n",
"0 NaN 0 NaN \n",
"1 NaN 0 NaN \n",
"2 [c771a4d4-51cb-41de-83aa-7103cd199c92] 0 NaN \n",
"3 [48b94b06-ebbd-47e9-958c-44bf63622f5e] 0 NaN \n",
"4 [237cac8c-5cb0-4015-9d08-c7df9699a136] 0 NaN \n",
"5 [272ef47d-171f-4395-a156-f4979e7bf352] 0 NaN \n",
"6 [1b5ea4d5-1200-4fe4-b43c-112b6414dff2] 0 NaN \n",
"7 [4360d68e-392e-4b30-8808-7b7310c9c273, d74db26... 0 NaN \n",
"8 [1b5ea4d5-1200-4fe4-b43c-112b6414dff2] 2 NaN \n",
"9 NaN 2 NaN \n",
"10 NaN 6 NaN \n",
"11 NaN 6 NaN \n",
"12 [6aa96cce-d444-4600-b2c7-d3898444a745, e7730cf... 25 NaN \n",
"13 [923ed5d7-5735-408f-acc7-6daad2f8d940, 9773edb... 28 NaN \n",
"14 [9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0] 28 NaN \n",
"15 [e7397ac3-df03-4ef4-a423-b739f6c4f547] 29 NaN \n",
"16 [3b719419-9fde-4ef2-a515-1995c4b5fc0e, 6aa96cc... 29 NaN \n",
"17 [6aa96cce-d444-4600-b2c7-d3898444a745] 29 NaN \n",
"18 [e7397ac3-df03-4ef4-a423-b739f6c4f547] 29 NaN \n",
"19 [ada2bac2-3609-4e79-806d-6a659b0ab4d2] 31 NaN \n",
"20 [c67d051f-b8eb-4dd1-95c6-621685c8b5b2, cd05b99... 31 NaN \n",
"21 [ada2bac2-3609-4e79-806d-6a659b0ab4d2] 32 NaN \n",
"22 [b36869b4-2660-494b-88c1-3b66097ac966] 32 NaN \n",
"23 [b36869b4-2660-494b-88c1-3b66097ac966] 34 NaN \n",
"24 [4ebd2f47-0948-4629-b48f-7796c303f74e, 841946b... 34 NaN \n",
"25 NaN 35 NaN \n",
"26 NaN 35 NaN \n",
"27 [cfa852c1-a15b-4db1-ab78-343f8f96c445] 38 NaN \n",
"28 [95ffe924-77f3-40e2-afc6-23e5fed8865f] 42 NaN \n",
"29 [ee8ed75d-0c78-4513-aab2-025b247870ec] 42 NaN \n",
"... ... ... ... \n",
"2930 [c62f5f63-48ac-4d4a-9025-1a1292ab81ec] 11 NaN \n",
"2931 [c62f5f63-48ac-4d4a-9025-1a1292ab81ec] 11 NaN \n",
"2932 [77d1f13c-2e9d-4447-aaad-7cea71f31414] 14 NaN \n",
"2933 [017b7b7c-1383-4562-a057-9b933316f1c7, a07cc3a... 14 NaN \n",
"2934 [77d1f13c-2e9d-4447-aaad-7cea71f31414] 15 NaN \n",
"2935 [606d52d2-a15e-448b-916a-2119b44f9280] 15 NaN \n",
"2936 [7fcb677c-e634-46aa-ae94-e562617b711e] 16 NaN \n",
"2937 [60c1275d-4046-4363-ad99-0bdad8fe51d8] 20 NaN \n",
"2938 [da3cce4d-2ca9-4a37-99a6-73fac652631e] 21 NaN \n",
"2939 [c67ea22c-3d9c-4924-9193-6526ad3a0b01] 21 NaN \n",
"2940 [2c6a1427-78a8-48dd-88a9-d52b645c1f88, 99807ab... 24 NaN \n",
"2941 [c67ea22c-3d9c-4924-9193-6526ad3a0b01] 25 NaN \n",
"2942 [c67ea22c-3d9c-4924-9193-6526ad3a0b01] 25 NaN \n",
"2943 [1518b13b-19ab-4c8f-9891-d0b115ac3b71] 28 NaN \n",
"2944 [d59c6291-9f21-4855-8e99-de15a3777dd9] 30 NaN \n",
"2945 [3e7a1caf-9db0-42fb-84b7-80bd94421db7, b709997... 31 NaN \n",
"2946 [b7099973-d989-4edb-a369-bc537106bd9b] 37 NaN \n",
"2947 [af3dd5d8-71ba-44fa-9716-9592583a14eb] 37 NaN \n",
"2948 [6a3be6e9-fd15-47c8-87fb-b0aab1974ab5, af3dd5d... 37 NaN \n",
"2949 [f0ee205f-9a4c-4099-b80a-21a2a744dd49] 43 NaN \n",
"2950 [11ed6e6b-ace8-4670-beb7-11943397c360] 45 NaN \n",
"2951 NaN 47 NaN \n",
"2952 [21d70847-1582-42ed-a51e-9e91215320ec] 51 NaN \n",
"2953 [84cde482-86cf-409f-83c5-2ed27e282f82] 52 NaN \n",
"2954 NaN 22 NaN \n",
"2955 [d79eb27d-4929-49a9-9ab8-d60ba4bc1d12] 50 NaN \n",
"2956 [32c6d064-7f2e-4443-aa4d-904fd816c7b4, c0bd843... 53 NaN \n",
"2957 [d79eb27d-4929-49a9-9ab8-d60ba4bc1d12] 57 NaN \n",
"2958 [fb15f211-1c83-455b-b535-918330bf6852] 4 NaN \n",
"2959 [7620698b-6f87-4a03-aaaa-58eb3133a7c3] 4 NaN \n",
"\n",
" substitution tactics \\\n",
"0 NaN {'formation': 433, 'lineup': [{'player': {'id'... \n",
"1 NaN {'formation': 352, 'lineup': [{'player': {'id'... \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
"4 NaN NaN \n",
"5 NaN NaN \n",
"6 NaN NaN \n",
"7 NaN NaN \n",
"8 NaN NaN \n",
"9 NaN NaN \n",
"10 NaN NaN \n",
"11 NaN NaN \n",
"12 NaN NaN \n",
"13 NaN NaN \n",
"14 NaN NaN \n",
"15 NaN NaN \n",
"16 NaN NaN \n",
"17 NaN NaN \n",
"18 NaN NaN \n",
"19 NaN NaN \n",
"20 NaN NaN \n",
"21 NaN NaN \n",
"22 NaN NaN \n",
"23 NaN NaN \n",
"24 NaN NaN \n",
"25 NaN NaN \n",
"26 NaN NaN \n",
"27 NaN NaN \n",
"28 NaN NaN \n",
"29 NaN NaN \n",
"... ... ... \n",
"2930 NaN NaN \n",
"2931 NaN NaN \n",
"2932 NaN NaN \n",
"2933 NaN NaN \n",
"2934 NaN NaN \n",
"2935 NaN NaN \n",
"2936 NaN NaN \n",
"2937 NaN NaN \n",
"2938 NaN NaN \n",
"2939 NaN NaN \n",
"2940 NaN NaN \n",
"2941 NaN NaN \n",
"2942 NaN NaN \n",
"2943 NaN NaN \n",
"2944 NaN NaN \n",
"2945 NaN NaN \n",
"2946 NaN NaN \n",
"2947 NaN NaN \n",
"2948 NaN NaN \n",
"2949 NaN NaN \n",
"2950 NaN NaN \n",
"2951 NaN NaN \n",
"2952 NaN NaN \n",
"2953 NaN NaN \n",
"2954 NaN NaN \n",
"2955 NaN NaN \n",
"2956 NaN NaN \n",
"2957 NaN NaN \n",
"2958 NaN NaN \n",
"2959 NaN NaN \n",
"\n",
" team timestamp \\\n",
"0 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:00.000 \n",
"1 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.000 \n",
"2 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.000 \n",
"3 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:00.000 \n",
"4 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.100 \n",
"5 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.100 \n",
"6 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:00.340 \n",
"7 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.500 \n",
"8 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:02.140 \n",
"9 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:02.700 \n",
"10 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:06.740 \n",
"11 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:06.980 \n",
"12 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:25.873 \n",
"13 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:28.460 \n",
"14 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:28.460 \n",
"15 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:29.620 \n",
"16 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:29.633 \n",
"17 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:29.633 \n",
"18 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:29.780 \n",
"19 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:31.340 \n",
"20 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:31.420 \n",
"21 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:32.673 \n",
"22 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:32.793 \n",
"23 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:34.260 \n",
"24 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:34.299 \n",
"25 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:35.380 \n",
"26 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:35.620 \n",
"27 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:38.660 \n",
"28 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:42.113 \n",
"29 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:42.220 \n",
"... ... ... \n",
"2930 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:11.438 \n",
"2931 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:11.438 \n",
"2932 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:14.918 \n",
"2933 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:14.918 \n",
"2934 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:15.691 \n",
"2935 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:15.851 \n",
"2936 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:16.771 \n",
"2937 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:20.531 \n",
"2938 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:21.571 \n",
"2939 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:21.638 \n",
"2940 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:24.091 \n",
"2941 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:25.598 \n",
"2942 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:25.598 \n",
"2943 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:28.371 \n",
"2944 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:30.318 \n",
"2945 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:31.758 \n",
"2946 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:37.598 \n",
"2947 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:37.998 \n",
"2948 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:37.998 \n",
"2949 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:43.998 \n",
"2950 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:45.678 \n",
"2951 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:47.438 \n",
"2952 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:47:51.758 \n",
"2953 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:47:52.278 \n",
"2954 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:48:22.078 \n",
"2955 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:48:50.958 \n",
"2956 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:48:53.558 \n",
"2957 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:48:57.038 \n",
"2958 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:49:04.531 \n",
"2959 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:49:04.531 \n",
"\n",
" type under_pressure \n",
"0 {'id': 35, 'name': 'Starting XI'} NaN \n",
"1 {'id': 35, 'name': 'Starting XI'} NaN \n",
"2 {'id': 18, 'name': 'Half Start'} NaN \n",
"3 {'id': 18, 'name': 'Half Start'} NaN \n",
"4 {'id': 30, 'name': 'Pass'} NaN \n",
"5 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"6 {'id': 17, 'name': 'Pressure'} NaN \n",
"7 {'id': 30, 'name': 'Pass'} 1.0 \n",
"8 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"9 {'id': 17, 'name': 'Pressure'} NaN \n",
"10 {'id': 38, 'name': 'Miscontrol'} NaN \n",
"11 {'id': 17, 'name': 'Pressure'} NaN \n",
"12 {'id': 30, 'name': 'Pass'} NaN \n",
"13 {'id': 30, 'name': 'Pass'} NaN \n",
"14 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"15 {'id': 17, 'name': 'Pressure'} NaN \n",
"16 {'id': 30, 'name': 'Pass'} 1.0 \n",
"17 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"18 {'id': 6, 'name': 'Block'} NaN \n",
"19 {'id': 17, 'name': 'Pressure'} NaN \n",
"20 {'id': 30, 'name': 'Pass'} 1.0 \n",
"21 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"22 {'id': 30, 'name': 'Pass'} NaN \n",
"23 {'id': 17, 'name': 'Pressure'} NaN \n",
"24 {'id': 42, 'name': 'Ball Receipt*'} 1.0 \n",
"25 {'id': 38, 'name': 'Miscontrol'} NaN \n",
"26 {'id': 2, 'name': 'Ball Recovery'} NaN \n",
"27 {'id': 30, 'name': 'Pass'} NaN \n",
"28 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"29 {'id': 39, 'name': 'Dribbled Past'} NaN \n",
"... ... ... \n",
"2930 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2931 {'id': 9, 'name': 'Clearance'} NaN \n",
"2932 {'id': 17, 'name': 'Pressure'} NaN \n",
"2933 {'id': 30, 'name': 'Pass'} 1.0 \n",
"2934 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2935 {'id': 30, 'name': 'Pass'} NaN \n",
"2936 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2937 {'id': 30, 'name': 'Pass'} NaN \n",
"2938 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2939 {'id': 17, 'name': 'Pressure'} NaN \n",
"2940 {'id': 30, 'name': 'Pass'} 1.0 \n",
"2941 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2942 {'id': 9, 'name': 'Clearance'} NaN \n",
"2943 {'id': 30, 'name': 'Pass'} NaN \n",
"2944 {'id': 2, 'name': 'Ball Recovery'} NaN \n",
"2945 {'id': 30, 'name': 'Pass'} NaN \n",
"2946 {'id': 17, 'name': 'Pressure'} NaN \n",
"2947 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2948 {'id': 9, 'name': 'Clearance'} 1.0 \n",
"2949 {'id': 30, 'name': 'Pass'} NaN \n",
"2950 {'id': 42, 'name': 'Ball Receipt*'} NaN \n",
"2951 {'id': 17, 'name': 'Pressure'} NaN \n",
"2952 {'id': 30, 'name': 'Pass'} NaN \n",
"2953 {'id': 6, 'name': 'Block'} NaN \n",
"2954 {'id': 30, 'name': 'Pass'} NaN \n",
"2955 {'id': 30, 'name': 'Pass'} NaN \n",
"2956 {'id': 30, 'name': 'Pass'} NaN \n",
"2957 {'id': 9, 'name': 'Clearance'} NaN \n",
"2958 {'id': 34, 'name': 'Half End'} NaN \n",
"2959 {'id': 34, 'name': 'Half End'} NaN \n",
"\n",
"[2960 rows x 33 columns]>"
]
},
"execution_count": 68,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.describe"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 61,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<zip at 0x23695128208>"
]
},
"execution_count": 61,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"conc"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 56,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[{'id': 35, 'name': 'Starting XI'},\n",
" {'id': 18, 'name': 'Half Start'},\n",
" {'id': 18, 'name': 'Half Start'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 28, 'name': 'Shield'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 3, 'name': 'Dispossessed'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 22, 'name': 'Foul Committed'},\n",
" {'id': 21, 'name': 'Foul Won'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 22, 'name': 'Foul Committed'},\n",
" {'id': 21, 'name': 'Foul Won'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 28, 'name': 'Shield'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 8, 'name': 'Offside'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 22, 'name': 'Foul Committed'},\n",
" {'id': 21, 'name': 'Foul Won'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 16, 'name': 'Shot'},\n",
" {'id': 6, 'name': 'Block'},\n",
" {'id': 23, 'name': 'Goal Keeper'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 9, 'name': 'Clearance'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 2, 'name': 'Ball Recovery'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 5, 'name': 'Camera On'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 36, 'name': 'Tactical Shift'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 4, 'name': 'Duel'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 39, 'name': 'Dribbled Past'},\n",
" {'id': 14, 'name': 'Dribble'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 38, 'name': 'Miscontrol'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 17, 'name': 'Pressure'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" {'id': 30, 'name': 'Pass'},\n",
" {'id': 42, 'name': 'Ball Receipt*'},\n",
" {'id': 10, 'name': 'Interception'},\n",
" ...]"
]
},
"execution_count": 56,
"metadata": {},
"output_type": "execute_result"
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
"import json \n",
"from pandas.io.json import json_normalize "
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [],
"source": [
"with open(r'C:\\Users\\Koushik\\Downloads\\open-data-master\\open-data-master\\data\\events\\7298.json') as data_file: \n",
" data = json.load(data_file) "
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"ename": "TypeError",
"evalue": "string indices must be integers",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-30-2f512b543ffb>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mdf_event\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mjson_normalize\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdf\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'type'\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m[\u001b[0m\u001b[1;34m'id'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'name'\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mrecord_prefix\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'type_'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0merrors\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'ignore'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\io\\json\\normalize.py\u001b[0m in \u001b[0;36mjson_normalize\u001b[1;34m(data, record_path, meta, meta_prefix, record_prefix, errors, sep)\u001b[0m\n\u001b[0;32m 260\u001b[0m \u001b[0mrecords\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mextend\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mrecs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 261\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 262\u001b[1;33m \u001b[0m_recursive_extract\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mrecord_path\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m{\u001b[0m\u001b[1;33m}\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mlevel\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;36m0\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 263\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 264\u001b[0m \u001b[0mresult\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mDataFrame\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mrecords\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\io\\json\\normalize.py\u001b[0m in \u001b[0;36m_recursive_extract\u001b[1;34m(data, path, seen_meta, level)\u001b[0m\n\u001b[0;32m 236\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 237\u001b[0m \u001b[1;32mfor\u001b[0m \u001b[0mobj\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mdata\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 238\u001b[1;33m \u001b[0mrecs\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0m_pull_field\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mpath\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;36m0\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 239\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 240\u001b[0m \u001b[1;31m# For repeating the metadata later\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\io\\json\\normalize.py\u001b[0m in \u001b[0;36m_pull_field\u001b[1;34m(js, spec)\u001b[0m\n\u001b[0;32m 183\u001b[0m \u001b[0mresult\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mresult\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mfield\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 184\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 185\u001b[1;33m \u001b[0mresult\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mresult\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mspec\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 186\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 187\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: string indices must be integers"
]
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>type_0</th>\n",
" <th>id</th>\n",
" <th>name</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>id</td>\n",
" <td>8671703e-aab7-47a8-818e-a83a91278658</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>name</td>\n",
" <td>8671703e-aab7-47a8-818e-a83a91278658</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>id</td>\n",
" <td>08a66b27-7098-4396-b942-ba73fa2e2df6</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>name</td>\n",
" <td>08a66b27-7098-4396-b942-ba73fa2e2df6</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>id</td>\n",
" <td>48b94b06-ebbd-47e9-958c-44bf63622f5e</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>name</td>\n",
" <td>48b94b06-ebbd-47e9-958c-44bf63622f5e</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>id</td>\n",
" <td>c771a4d4-51cb-41de-83aa-7103cd199c92</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>name</td>\n",
" <td>c771a4d4-51cb-41de-83aa-7103cd199c92</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>id</td>\n",
" <td>272ef47d-171f-4395-a156-f4979e7bf352</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>name</td>\n",
" <td>272ef47d-171f-4395-a156-f4979e7bf352</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>id</td>\n",
" <td>237cac8c-5cb0-4015-9d08-c7df9699a136</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>name</td>\n",
" <td>237cac8c-5cb0-4015-9d08-c7df9699a136</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>id</td>\n",
" <td>4360d68e-392e-4b30-8808-7b7310c9c273</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>name</td>\n",
" <td>4360d68e-392e-4b30-8808-7b7310c9c273</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>id</td>\n",
" <td>1b5ea4d5-1200-4fe4-b43c-112b6414dff2</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>name</td>\n",
" <td>1b5ea4d5-1200-4fe4-b43c-112b6414dff2</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>id</td>\n",
" <td>d74db266-c626-44cc-b504-26507871099f</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>name</td>\n",
" <td>d74db266-c626-44cc-b504-26507871099f</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>id</td>\n",
" <td>94d9893d-ab70-4d00-8f0d-84ae8a75cfbb</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>name</td>\n",
" <td>94d9893d-ab70-4d00-8f0d-84ae8a75cfbb</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>id</td>\n",
" <td>2c0070b5-6e05-438c-a26a-e7a87e840823</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>name</td>\n",
" <td>2c0070b5-6e05-438c-a26a-e7a87e840823</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>id</td>\n",
" <td>4d6cc1cc-5884-4328-8306-344aa1ca5d3e</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>name</td>\n",
" <td>4d6cc1cc-5884-4328-8306-344aa1ca5d3e</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>id</td>\n",
" <td>9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>name</td>\n",
" <td>9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>id</td>\n",
" <td>6aa96cce-d444-4600-b2c7-d3898444a745</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>name</td>\n",
" <td>6aa96cce-d444-4600-b2c7-d3898444a745</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>id</td>\n",
" <td>e7730cf8-ea18-48e7-851e-be562d65786f</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>name</td>\n",
" <td>e7730cf8-ea18-48e7-851e-be562d65786f</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5890</th>\n",
" <td>id</td>\n",
" <td>af3dd5d8-71ba-44fa-9716-9592583a14eb</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5891</th>\n",
" <td>name</td>\n",
" <td>af3dd5d8-71ba-44fa-9716-9592583a14eb</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5892</th>\n",
" <td>id</td>\n",
" <td>6a3be6e9-fd15-47c8-87fb-b0aab1974ab5</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5893</th>\n",
" <td>name</td>\n",
" <td>6a3be6e9-fd15-47c8-87fb-b0aab1974ab5</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5894</th>\n",
" <td>id</td>\n",
" <td>3e7a1caf-9db0-42fb-84b7-80bd94421db7</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5895</th>\n",
" <td>name</td>\n",
" <td>3e7a1caf-9db0-42fb-84b7-80bd94421db7</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5896</th>\n",
" <td>id</td>\n",
" <td>b7099973-d989-4edb-a369-bc537106bd9b</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5897</th>\n",
" <td>name</td>\n",
" <td>b7099973-d989-4edb-a369-bc537106bd9b</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5898</th>\n",
" <td>id</td>\n",
" <td>11ed6e6b-ace8-4670-beb7-11943397c360</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5899</th>\n",
" <td>name</td>\n",
" <td>11ed6e6b-ace8-4670-beb7-11943397c360</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5900</th>\n",
" <td>id</td>\n",
" <td>f0ee205f-9a4c-4099-b80a-21a2a744dd49</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5901</th>\n",
" <td>name</td>\n",
" <td>f0ee205f-9a4c-4099-b80a-21a2a744dd49</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5902</th>\n",
" <td>id</td>\n",
" <td>eba688d7-0630-45b5-beb2-0f10d0223c13</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5903</th>\n",
" <td>name</td>\n",
" <td>eba688d7-0630-45b5-beb2-0f10d0223c13</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5904</th>\n",
" <td>id</td>\n",
" <td>84cde482-86cf-409f-83c5-2ed27e282f82</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5905</th>\n",
" <td>name</td>\n",
" <td>84cde482-86cf-409f-83c5-2ed27e282f82</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5906</th>\n",
" <td>id</td>\n",
" <td>21d70847-1582-42ed-a51e-9e91215320ec</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5907</th>\n",
" <td>name</td>\n",
" <td>21d70847-1582-42ed-a51e-9e91215320ec</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5908</th>\n",
" <td>id</td>\n",
" <td>62588fc6-a8f5-4f85-b707-344ff5c00d89</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5909</th>\n",
" <td>name</td>\n",
" <td>62588fc6-a8f5-4f85-b707-344ff5c00d89</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5910</th>\n",
" <td>id</td>\n",
" <td>32c6d064-7f2e-4443-aa4d-904fd816c7b4</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5911</th>\n",
" <td>name</td>\n",
" <td>32c6d064-7f2e-4443-aa4d-904fd816c7b4</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5912</th>\n",
" <td>id</td>\n",
" <td>d79eb27d-4929-49a9-9ab8-d60ba4bc1d12</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5913</th>\n",
" <td>name</td>\n",
" <td>d79eb27d-4929-49a9-9ab8-d60ba4bc1d12</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5914</th>\n",
" <td>id</td>\n",
" <td>c0bd843f-77eb-4812-83ec-13181beaa21b</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5915</th>\n",
" <td>name</td>\n",
" <td>c0bd843f-77eb-4812-83ec-13181beaa21b</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5916</th>\n",
" <td>id</td>\n",
" <td>7620698b-6f87-4a03-aaaa-58eb3133a7c3</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5917</th>\n",
" <td>name</td>\n",
" <td>7620698b-6f87-4a03-aaaa-58eb3133a7c3</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5918</th>\n",
" <td>id</td>\n",
" <td>fb15f211-1c83-455b-b535-918330bf6852</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5919</th>\n",
" <td>name</td>\n",
" <td>fb15f211-1c83-455b-b535-918330bf6852</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5920 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" type_0 id name\n",
"0 id 8671703e-aab7-47a8-818e-a83a91278658 NaN\n",
"1 name 8671703e-aab7-47a8-818e-a83a91278658 NaN\n",
"2 id 08a66b27-7098-4396-b942-ba73fa2e2df6 NaN\n",
"3 name 08a66b27-7098-4396-b942-ba73fa2e2df6 NaN\n",
"4 id 48b94b06-ebbd-47e9-958c-44bf63622f5e NaN\n",
"5 name 48b94b06-ebbd-47e9-958c-44bf63622f5e NaN\n",
"6 id c771a4d4-51cb-41de-83aa-7103cd199c92 NaN\n",
"7 name c771a4d4-51cb-41de-83aa-7103cd199c92 NaN\n",
"8 id 272ef47d-171f-4395-a156-f4979e7bf352 NaN\n",
"9 name 272ef47d-171f-4395-a156-f4979e7bf352 NaN\n",
"10 id 237cac8c-5cb0-4015-9d08-c7df9699a136 NaN\n",
"11 name 237cac8c-5cb0-4015-9d08-c7df9699a136 NaN\n",
"12 id 4360d68e-392e-4b30-8808-7b7310c9c273 NaN\n",
"13 name 4360d68e-392e-4b30-8808-7b7310c9c273 NaN\n",
"14 id 1b5ea4d5-1200-4fe4-b43c-112b6414dff2 NaN\n",
"15 name 1b5ea4d5-1200-4fe4-b43c-112b6414dff2 NaN\n",
"16 id d74db266-c626-44cc-b504-26507871099f NaN\n",
"17 name d74db266-c626-44cc-b504-26507871099f NaN\n",
"18 id 94d9893d-ab70-4d00-8f0d-84ae8a75cfbb NaN\n",
"19 name 94d9893d-ab70-4d00-8f0d-84ae8a75cfbb NaN\n",
"20 id 2c0070b5-6e05-438c-a26a-e7a87e840823 NaN\n",
"21 name 2c0070b5-6e05-438c-a26a-e7a87e840823 NaN\n",
"22 id 4d6cc1cc-5884-4328-8306-344aa1ca5d3e NaN\n",
"23 name 4d6cc1cc-5884-4328-8306-344aa1ca5d3e NaN\n",
"24 id 9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0 NaN\n",
"25 name 9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0 NaN\n",
"26 id 6aa96cce-d444-4600-b2c7-d3898444a745 NaN\n",
"27 name 6aa96cce-d444-4600-b2c7-d3898444a745 NaN\n",
"28 id e7730cf8-ea18-48e7-851e-be562d65786f NaN\n",
"29 name e7730cf8-ea18-48e7-851e-be562d65786f NaN\n",
"... ... ... ...\n",
"5890 id af3dd5d8-71ba-44fa-9716-9592583a14eb NaN\n",
"5891 name af3dd5d8-71ba-44fa-9716-9592583a14eb NaN\n",
"5892 id 6a3be6e9-fd15-47c8-87fb-b0aab1974ab5 NaN\n",
"5893 name 6a3be6e9-fd15-47c8-87fb-b0aab1974ab5 NaN\n",
"5894 id 3e7a1caf-9db0-42fb-84b7-80bd94421db7 NaN\n",
"5895 name 3e7a1caf-9db0-42fb-84b7-80bd94421db7 NaN\n",
"5896 id b7099973-d989-4edb-a369-bc537106bd9b NaN\n",
"5897 name b7099973-d989-4edb-a369-bc537106bd9b NaN\n",
"5898 id 11ed6e6b-ace8-4670-beb7-11943397c360 NaN\n",
"5899 name 11ed6e6b-ace8-4670-beb7-11943397c360 NaN\n",
"5900 id f0ee205f-9a4c-4099-b80a-21a2a744dd49 NaN\n",
"5901 name f0ee205f-9a4c-4099-b80a-21a2a744dd49 NaN\n",
"5902 id eba688d7-0630-45b5-beb2-0f10d0223c13 NaN\n",
"5903 name eba688d7-0630-45b5-beb2-0f10d0223c13 NaN\n",
"5904 id 84cde482-86cf-409f-83c5-2ed27e282f82 NaN\n",
"5905 name 84cde482-86cf-409f-83c5-2ed27e282f82 NaN\n",
"5906 id 21d70847-1582-42ed-a51e-9e91215320ec NaN\n",
"5907 name 21d70847-1582-42ed-a51e-9e91215320ec NaN\n",
"5908 id 62588fc6-a8f5-4f85-b707-344ff5c00d89 NaN\n",
"5909 name 62588fc6-a8f5-4f85-b707-344ff5c00d89 NaN\n",
"5910 id 32c6d064-7f2e-4443-aa4d-904fd816c7b4 NaN\n",
"5911 name 32c6d064-7f2e-4443-aa4d-904fd816c7b4 NaN\n",
"5912 id d79eb27d-4929-49a9-9ab8-d60ba4bc1d12 NaN\n",
"5913 name d79eb27d-4929-49a9-9ab8-d60ba4bc1d12 NaN\n",
"5914 id c0bd843f-77eb-4812-83ec-13181beaa21b NaN\n",
"5915 name c0bd843f-77eb-4812-83ec-13181beaa21b NaN\n",
"5916 id 7620698b-6f87-4a03-aaaa-58eb3133a7c3 NaN\n",
"5917 name 7620698b-6f87-4a03-aaaa-58eb3133a7c3 NaN\n",
"5918 id fb15f211-1c83-455b-b535-918330bf6852 NaN\n",
"5919 name fb15f211-1c83-455b-b535-918330bf6852 NaN\n",
"\n",
"[5920 rows x 3 columns]"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_event\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"scrolled": true
},
"outputs": [
{
"ename": "KeyError",
"evalue": "'Minute'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mKeyError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\indexes\\base.py\u001b[0m in \u001b[0;36mget_loc\u001b[1;34m(self, key, method, tolerance)\u001b[0m\n\u001b[0;32m 3077\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 3078\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_engine\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_loc\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 3079\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mKeyError\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\index.pyx\u001b[0m in \u001b[0;36mpandas._libs.index.IndexEngine.get_loc\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\index.pyx\u001b[0m in \u001b[0;36mpandas._libs.index.IndexEngine.get_loc\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\hashtable_class_helper.pxi\u001b[0m in \u001b[0;36mpandas._libs.hashtable.PyObjectHashTable.get_item\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\hashtable_class_helper.pxi\u001b[0m in \u001b[0;36mpandas._libs.hashtable.PyObjectHashTable.get_item\u001b[1;34m()\u001b[0m\n",
"\u001b[1;31mKeyError\u001b[0m: 'Minute'",
"\nDuring handling of the above exception, another exception occurred:\n",
"\u001b[1;31mKeyError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-8-c85a994cd809>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mdf\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;34m'Minute'\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\frame.py\u001b[0m in \u001b[0;36m__getitem__\u001b[1;34m(self, key)\u001b[0m\n\u001b[0;32m 2686\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_getitem_multilevel\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2687\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 2688\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_getitem_column\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2689\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2690\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0m_getitem_column\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\frame.py\u001b[0m in \u001b[0;36m_getitem_column\u001b[1;34m(self, key)\u001b[0m\n\u001b[0;32m 2693\u001b[0m \u001b[1;31m# get column\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2694\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcolumns\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mis_unique\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 2695\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_get_item_cache\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2696\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2697\u001b[0m \u001b[1;31m# duplicate columns & possible reduce dimensionality\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\generic.py\u001b[0m in \u001b[0;36m_get_item_cache\u001b[1;34m(self, item)\u001b[0m\n\u001b[0;32m 2487\u001b[0m \u001b[0mres\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mcache\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2488\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mres\u001b[0m \u001b[1;32mis\u001b[0m \u001b[1;32mNone\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 2489\u001b[1;33m \u001b[0mvalues\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_data\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2490\u001b[0m \u001b[0mres\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_box_item_values\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mvalues\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2491\u001b[0m \u001b[0mcache\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m]\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mres\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\internals.py\u001b[0m in \u001b[0;36mget\u001b[1;34m(self, item, fastpath)\u001b[0m\n\u001b[0;32m 4113\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4114\u001b[0m \u001b[1;32mif\u001b[0m \u001b[1;32mnot\u001b[0m \u001b[0misna\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 4115\u001b[1;33m \u001b[0mloc\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mitems\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_loc\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mitem\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 4116\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4117\u001b[0m \u001b[0mindexer\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mnp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0marange\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mlen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mitems\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0misna\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mitems\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\pandas\\core\\indexes\\base.py\u001b[0m in \u001b[0;36mget_loc\u001b[1;34m(self, key, method, tolerance)\u001b[0m\n\u001b[0;32m 3078\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_engine\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_loc\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3079\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mKeyError\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 3080\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_engine\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_loc\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_maybe_cast_indexer\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 3081\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3082\u001b[0m \u001b[0mindexer\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_indexer\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mkey\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mmethod\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mtolerance\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mtolerance\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\index.pyx\u001b[0m in \u001b[0;36mpandas._libs.index.IndexEngine.get_loc\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\index.pyx\u001b[0m in \u001b[0;36mpandas._libs.index.IndexEngine.get_loc\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\hashtable_class_helper.pxi\u001b[0m in \u001b[0;36mpandas._libs.hashtable.PyObjectHashTable.get_item\u001b[1;34m()\u001b[0m\n",
"\u001b[1;32mpandas\\_libs\\hashtable_class_helper.pxi\u001b[0m in \u001b[0;36mpandas._libs.hashtable.PyObjectHashTable.get_item\u001b[1;34m()\u001b[0m\n",
"\u001b[1;31mKeyError\u001b[0m: 'Minute'"
]
}
],
"source": [
"df['Minute']\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>bad_behaviour</th>\n",
" <th>ball_receipt</th>\n",
" <th>ball_recovery</th>\n",
" <th>block</th>\n",
" <th>dribble</th>\n",
" <th>duel</th>\n",
" <th>duration</th>\n",
" <th>foul_committed</th>\n",
" <th>foul_won</th>\n",
" <th>goalkeeper</th>\n",
" <th>...</th>\n",
" <th>possession_team</th>\n",
" <th>related_events</th>\n",
" <th>second</th>\n",
" <th>shot</th>\n",
" <th>substitution</th>\n",
" <th>tactics</th>\n",
" <th>team</th>\n",
" <th>timestamp</th>\n",
" <th>type</th>\n",
" <th>under_pressure</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.00</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>NaN</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'formation': 433, 'lineup': [{'player': {'id'...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-29 00:00:00.000</td>\n",
" <td>{'id': 35, 'name': 'Starting XI'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.00</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>NaN</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'formation': 352, 'lineup': [{'player': {'id'...</td>\n",
" <td>{'id': 971, 'name': 'Chelsea LFC'}</td>\n",
" <td>2018-11-29 00:00:00.000</td>\n",
" <td>{'id': 35, 'name': 'Starting XI'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>8.16</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[c771a4d4-51cb-41de-83aa-7103cd199c92]</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 971, 'name': 'Chelsea LFC'}</td>\n",
" <td>2018-11-29 00:00:00.000</td>\n",
" <td>{'id': 18, 'name': 'Half Start'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>7.96</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>[48b94b06-ebbd-47e9-958c-44bf63622f5e]</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 746, 'name': 'Manchester City WFC'}</td>\n",
" <td>2018-11-29 00:00:00.000</td>\n",
" <td>{'id': 18, 'name': 'Half Start'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.00</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>{'id': 971, 'name': 'Chelsea LFC'}</td>\n",
" <td>[237cac8c-5cb0-4015-9d08-c7df9699a136]</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>{'id': 971, 'name': 'Chelsea LFC'}</td>\n",
" <td>2018-11-29 00:00:00.100</td>\n",
" <td>{'id': 30, 'name': 'Pass'}</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 33 columns</p>\n",
"</div>"
],
"text/plain": [
" bad_behaviour ball_receipt ball_recovery block dribble duel duration \\\n",
"0 NaN NaN NaN NaN NaN NaN 0.00 \n",
"1 NaN NaN NaN NaN NaN NaN 0.00 \n",
"2 NaN NaN NaN NaN NaN NaN 8.16 \n",
"3 NaN NaN NaN NaN NaN NaN 7.96 \n",
"4 NaN NaN NaN NaN NaN NaN 0.00 \n",
"\n",
" foul_committed foul_won goalkeeper ... \\\n",
"0 NaN NaN NaN ... \n",
"1 NaN NaN NaN ... \n",
"2 NaN NaN NaN ... \n",
"3 NaN NaN NaN ... \n",
"4 NaN NaN NaN ... \n",
"\n",
" possession_team \\\n",
"0 {'id': 746, 'name': 'Manchester City WFC'} \n",
"1 {'id': 746, 'name': 'Manchester City WFC'} \n",
"2 {'id': 746, 'name': 'Manchester City WFC'} \n",
"3 {'id': 746, 'name': 'Manchester City WFC'} \n",
"4 {'id': 971, 'name': 'Chelsea LFC'} \n",
"\n",
" related_events second shot substitution \\\n",
"0 NaN 0 NaN NaN \n",
"1 NaN 0 NaN NaN \n",
"2 [c771a4d4-51cb-41de-83aa-7103cd199c92] 0 NaN NaN \n",
"3 [48b94b06-ebbd-47e9-958c-44bf63622f5e] 0 NaN NaN \n",
"4 [237cac8c-5cb0-4015-9d08-c7df9699a136] 0 NaN NaN \n",
"\n",
" tactics \\\n",
"0 {'formation': 433, 'lineup': [{'player': {'id'... \n",
"1 {'formation': 352, 'lineup': [{'player': {'id'... \n",
"2 NaN \n",
"3 NaN \n",
"4 NaN \n",
"\n",
" team timestamp \\\n",
"0 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:00.000 \n",
"1 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.000 \n",
"2 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.000 \n",
"3 {'id': 746, 'name': 'Manchester City WFC'} 2018-11-29 00:00:00.000 \n",
"4 {'id': 971, 'name': 'Chelsea LFC'} 2018-11-29 00:00:00.100 \n",
"\n",
" type under_pressure \n",
"0 {'id': 35, 'name': 'Starting XI'} NaN \n",
"1 {'id': 35, 'name': 'Starting XI'} NaN \n",
"2 {'id': 18, 'name': 'Half Start'} NaN \n",
"3 {'id': 18, 'name': 'Half Start'} NaN \n",
"4 {'id': 30, 'name': 'Pass'} NaN \n",
"\n",
"[5 rows x 33 columns]"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"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.6.8"
}
},
"nbformat": 4,
"nbformat_minor": 2
}