{
"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": [
"
\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" bad_behaviour | \n",
" ball_receipt | \n",
" ball_recovery | \n",
" block | \n",
" dribble | \n",
" duel | \n",
" duration | \n",
" foul_committed | \n",
" foul_won | \n",
" goalkeeper | \n",
" ... | \n",
" possession_team | \n",
" related_events | \n",
" second | \n",
" shot | \n",
" substitution | \n",
" tactics | \n",
" team | \n",
" timestamp | \n",
" type | \n",
" under_pressure | \n",
"
\n",
" \n",
" \n",
" \n",
" 832 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.240 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [81b72de5-c633-4b86-97a5-e6e3141a637c, b90b070... | \n",
" 22 | \n",
" {'statsbomb_xg': 0.06657825, 'end_location': [... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:26:22.860 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" 1.0 | \n",
"
\n",
" \n",
" 843 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.345 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [0853fb46-b768-4d42-986e-77ea3c96c952, e70ec33... | \n",
" 32 | \n",
" {'statsbomb_xg': 0.046157748000000005, 'end_lo... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:26:32.955 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 1651 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.400 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [cba9cd2d-9992-407a-aaf3-0311eb351c87] | \n",
" 41 | \n",
" {'one_on_one': True, 'statsbomb_xg': 0.5693016... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:03:41.638 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2297 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 2.560 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [79749558-b0e2-4f8c-a1eb-0a8e0aef46e8] | \n",
" 7 | \n",
" {'statsbomb_xg': 0.008986439, 'end_location': ... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:25:07.438 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2453 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 1.640 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [94d2eb1b-8fc9-49c7-b616-aca417904cd6] | \n",
" 46 | \n",
" {'statsbomb_xg': 0.0063227050000000005, 'end_l... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:29:46.198 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2532 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.840 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [f74bf297-93f1-45b0-81de-eeb3fc69c680] | \n",
" 51 | \n",
" {'statsbomb_xg': 0.22746719999999998, 'end_loc... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:31:51.518 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2741 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.800 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [dd94e36b-a345-4536-b4ee-843bd6e1578b] | \n",
" 34 | \n",
" {'statsbomb_xg': 0.2832888, 'end_location': [1... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:40:34.118 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2867 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 1.000 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [3ae2ccbb-4810-41b4-afd9-5f5d020ca1e0, 4ecdab6... | \n",
" 21 | \n",
" {'statsbomb_xg': 0.050603393, 'end_location': ... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:44:21.918 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" 1.0 | \n",
"
\n",
" \n",
" 2910 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 1.828 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [20798c8c-8446-4460-b16a-ad013b7ed0f6] | \n",
" 7 | \n",
" {'statsbomb_xg': 0.013315414000000001, 'end_lo... | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-30 00:46:07.810 | \n",
" {'id': 16, 'name': 'Shot'} | \n",
" NaN | \n",
"
\n",
" \n",
"
\n",
"
9 rows × 33 columns
\n",
"
"
],
"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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" location | \n",
" team1 | \n",
" team2 | \n",
"
\n",
" \n",
" \n",
" \n",
" 832 | \n",
" [117.0, 53.0] | \n",
" 117.0 | \n",
" 53.0 | \n",
"
\n",
" \n",
" 843 | \n",
" [102.0, 50.0] | \n",
" 102.0 | \n",
" 50.0 | \n",
"
\n",
" \n",
" 1651 | \n",
" [115.0, 41.0] | \n",
" 115.0 | \n",
" 41.0 | \n",
"
\n",
" \n",
" 2297 | \n",
" [108.0, 35.0] | \n",
" 108.0 | \n",
" 35.0 | \n",
"
\n",
" \n",
" 2453 | \n",
" [88.0, 34.0] | \n",
" 88.0 | \n",
" 34.0 | \n",
"
\n",
" \n",
" 2532 | \n",
" [113.0, 42.0] | \n",
" 113.0 | \n",
" 42.0 | \n",
"
\n",
" \n",
" 2741 | \n",
" [98.0, 46.0] | \n",
" 98.0 | \n",
" 46.0 | \n",
"
\n",
" \n",
" 2867 | \n",
" [102.0, 35.0] | \n",
" 102.0 | \n",
" 35.0 | \n",
"
\n",
" \n",
" 2910 | \n",
" [109.0, 37.0] | \n",
" 109.0 | \n",
" 37.0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"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": [
"[]"
]
},
"execution_count": 53,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXEAAAD8CAYAAACB3pQWAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAHZlJREFUeJzt3X+UVWX59/H3NQyj46AChsADCLIYxMxH08n4QlaPmGaUYJhCqKzRp6FVFhVGqGl+WZk0iqaLMlki8RUSVERcsTIMtV88YIOlkqBDgIDxS5DQYZQZ5nr+OHtswBnmnDk/9rkPn9das87Z++x99rXZw2fus8++723ujoiIhKko7gJERKTjFOIiIgFTiIuIBEwhLiISMIW4iEjAFOIiIgFLKsTN7Ltm9g8zW2Nmj5jZsWZ2qpmtMrNaM1toZiXZLlZERA7VboibWR/g20CFu38M6ASMBX4K3OPu5cDbwHXZLFRERD4s2dMpxUCpmRUDxwHbgAuAx6PX5wKjM1+eiIgcSXF7C7j7m2Z2F7AZqAeWAauBve7eGC22FejT2vpmVgVUAZSVlZ07ZMiQTNQtIlIQNm3axFtvvWUdXb/dEDezbsAo4FRgL/AYcEkri7baf9/dZwGzACoqKrympqajt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busYjQL+xxNWAl3NrHduKk1da/vm7svcvTGaXEminw0k9m2Bu7/v7huB9SQytE25CPHWuuf3ycF2s87MBgAfB1YBPd19GySCHjg5vso67GfAFKApmj4J2Nvily3EYzcQ2AXMiU4TPWhmZRTA8XL3N4G7gM0kwvvfwGrCP2bN2jpGhZYp1wK/jZ6nvG+5CPGkuueHxsy6AIuA77j7vrjrSZeZfRHY6e6rW85uZdHQjl0xcA5wv7t/HKgjwFMnrYnOEY8CTgX+F1BG4lTD4UI7Zu0phN9LAMzsZhKnaOc3z2plsSPuWy5CvOC655tZZxIBPt/dn4hm72j+SBc97oyrvg4aDlxqZptInPK6gETLvGv0UR3CPHZbga3uviqafpxEqId+vAAuBDa6+y53bwCeAIYR/jFr1tYxKohMMbMJwBeB8f6fDjsp71suQryguudH54lnA2vd/e4WLz0FTIieTwCW5Lq2dLj7je7e190HkDhGz7r7eOA54PJosRD3azuwxcyaR4obAbxK4McrshkYambHRb+XzfsW9DFroa1j9BRwTXSVylDg382nXUJhZp8HfgBc6u77W7z0FDDWzI4xs1NJfHn7whHfzN2z/gN8gcQ3sP8Ebs7FNrO4L58i8fHmZeDv0c8XSJw/Xg7URo/d4641jX38LPCb6PnA6JdoPfAYcEzc9XVgf84GaqJj9iTQrVCOF/DfwDpgDfAwcEyIxwx4hMR5/QYSrdHr2jpGJE45/DzKk1dIXJ0T+z6kuG/rSZz7bs6QX7ZY/uZo314DLmnv/dXtXkQkYOqxKSISMIW4iEjAFOIiIgFTiIuIBEwhLiISMIW4iEjAFOIiIgH7/9opsEN1UdipAAAAAElFTkSuQmCC\n",
"text/plain": [
""
]
},
"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\u001b[0m in \u001b[0;36m\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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" X | \n",
" Y | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 117 | \n",
" 53 | \n",
"
\n",
" \n",
" 1 | \n",
" 102 | \n",
" 50 | \n",
"
\n",
" \n",
" 2 | \n",
" 115 | \n",
" 41 | \n",
"
\n",
" \n",
" 3 | \n",
" 108 | \n",
" 35 | \n",
"
\n",
" \n",
" 4 | \n",
" 88 | \n",
" 34 | \n",
"
\n",
" \n",
" 5 | \n",
" 113 | \n",
" 42 | \n",
"
\n",
" \n",
" 6 | \n",
" 98 | \n",
" 46 | \n",
"
\n",
" \n",
" 7 | \n",
" 102 | \n",
" 35 | \n",
"
\n",
" \n",
" 8 | \n",
" 109 | \n",
" 37 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"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\u001b[0m in \u001b[0;36m\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\u001b[0m in \u001b[0;36m\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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" 0 | \n",
"
\n",
" \n",
" \n",
" \n",
" 33 | \n",
" NaN | \n",
"
\n",
" \n",
" 186 | \n",
" NaN | \n",
"
\n",
" \n",
" 192 | \n",
" NaN | \n",
"
\n",
" \n",
" 196 | \n",
" NaN | \n",
"
\n",
" \n",
" 204 | \n",
" NaN | \n",
"
\n",
" \n",
" 583 | \n",
" NaN | \n",
"
\n",
" \n",
" 695 | \n",
" NaN | \n",
"
\n",
" \n",
" 749 | \n",
" NaN | \n",
"
\n",
" \n",
" 765 | \n",
" NaN | \n",
"
\n",
" \n",
" 832 | \n",
" NaN | \n",
"
\n",
" \n",
" 843 | \n",
" NaN | \n",
"
\n",
" \n",
" 1060 | \n",
" NaN | \n",
"
\n",
" \n",
" 1176 | \n",
" NaN | \n",
"
\n",
" \n",
" 1179 | \n",
" NaN | \n",
"
\n",
" \n",
" 1291 | \n",
" NaN | \n",
"
\n",
" \n",
" 1400 | \n",
" NaN | \n",
"
\n",
" \n",
" 1486 | \n",
" NaN | \n",
"
\n",
" \n",
" 1622 | \n",
" NaN | \n",
"
\n",
" \n",
" 1651 | \n",
" NaN | \n",
"
\n",
" \n",
" 1666 | \n",
" NaN | \n",
"
\n",
" \n",
" 1828 | \n",
" NaN | \n",
"
\n",
" \n",
" 2136 | \n",
" NaN | \n",
"
\n",
" \n",
" 2240 | \n",
" NaN | \n",
"
\n",
" \n",
" 2297 | \n",
" NaN | \n",
"
\n",
" \n",
" 2325 | \n",
" NaN | \n",
"
\n",
" \n",
" 2453 | \n",
" NaN | \n",
"
\n",
" \n",
" 2532 | \n",
" NaN | \n",
"
\n",
" \n",
" 2692 | \n",
" NaN | \n",
"
\n",
" \n",
" 2695 | \n",
" NaN | \n",
"
\n",
" \n",
" 2741 | \n",
" NaN | \n",
"
\n",
" \n",
" 2813 | \n",
" NaN | \n",
"
\n",
" \n",
" 2820 | \n",
" NaN | \n",
"
\n",
" \n",
" 2867 | \n",
" NaN | \n",
"
\n",
" \n",
" 2910 | \n",
" NaN | \n",
"
\n",
" \n",
"
\n",
"
"
],
"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\u001b[0m in \u001b[0;36m\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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" X | \n",
" Y | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 117.0 | \n",
" 53.0 | \n",
"
\n",
" \n",
" 1 | \n",
" 102.0 | \n",
" 50.0 | \n",
"
\n",
" \n",
" 2 | \n",
" 115.0 | \n",
" 41.0 | \n",
"
\n",
" \n",
" 3 | \n",
" 108.0 | \n",
" 35.0 | \n",
"
\n",
" \n",
" 4 | \n",
" 88.0 | \n",
" 34.0 | \n",
"
\n",
" \n",
" 5 | \n",
" 113.0 | \n",
" 42.0 | \n",
"
\n",
" \n",
" 6 | \n",
" 98.0 | \n",
" 46.0 | \n",
"
\n",
" \n",
" 7 | \n",
" 102.0 | \n",
" 35.0 | \n",
"
\n",
" \n",
" 8 | \n",
" 109.0 | \n",
" 37.0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"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": [
""
]
},
"execution_count": 51,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEBCAYAAABi/DI2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAIABJREFUeJzt3XtclHX6//HXnIBBUFBBPGV22HQ9kIkVm0n2VRQRKdQ8fbFyPZBtqN9djdC03DB13TzUupubWdlhI1PRQs1D2gHT7Je6Hms9lCZnUM7M6f794To5zqjMMDADXM/Ho8fec3N/7nnPrMzF/Zn5XKNSFEVBCCGEuIba0wGEEEJ4JykQQgghHJICIYQQwiEpEEIIIRySAiGEEMIhKRBCCCEckgIhhBDCISkQQgghHJICIYQQwiEpEEIIIRySAiGEEMIhKRBCCCEckgIhhBDCIa2nA7iiuLgci8W1JrStWgVQWFjm5kS1J7mcI7mcI7mc09hyqdUqgoObOT2uQRYIi0VxuUBcGe+NJJdzJJdzJJdzJJdMMQkhhLgOKRBCCCEcapBTTI4oikJxcT4GQxVw/UuwvDw1Foul/oJdh0ajJSAgCL3e+XlBIYSoDy4XiOXLl7Nt2zZUKhUjRozgySefZM+ePbzyyivWY3JzcwkPD+f111+3GXvhwgVmzpx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N9dNPP6HT6UhKSiI7O5uHHnqI6dOnezTT1bKysqiqqiImJsbTUQAICAhg2rRpxMTEoNfr6dOnD/fcc0+93HeTuIKwWCyoVL+2u1UUxea2cOzHH39kwoQJzJo1i1tvvdXTcaySk5PZu3cv2dnZpKenezoOH330EW3btiUyMtLTUWz06tWLxYsXExgYSMuWLRkxYgR79uzxdCzMZjN79+5lwYIFfPjhhxw+fJgNGzZ4OpbVv/71L5588klPx7A6ceIEH3/8MZ9//jlffvklarWa1atX18t9N4kCERYWRn5+vvV2fn6+V03peKPvvvuOJ554gj/+8Y88+uijno4DwKlTpzh+/DgAer2e6OhoTp486eFUkJmZyddff018fDwrVqxg165dLFiwwNOxOHDgAHv37rXeVhQFrdbzkwatW7cmMjKSli1b4ufnx4ABA7zmit5gMPDtt9/y8MMPezqK1VdffUVkZCStWrXCx8eHhIQE9u/fXy/33SQKxO9+9zv27t1LUVERlZWVfPbZZ/Tr18/TsbxWdnY2Tz/9NEuWLCE2NtbTcazOnz/PnDlzMBgMGAwGdu7cSe/evT0dizVr1vDJJ5+QkZFBcnIyDz/8MKmpqZ6ORWlpKYsXL6a6upqysjI2bNjAwIEDPR2L/v3789VXX1FSUoLZbObLL7+kW7duno4FwMmTJ7n11lu95r0tgC5dupCVlUVFRQWKorBr1y569OhRL/ft+T8n6kGbNm2YMWMG48ePx2g0MmLECHr27OnpWF5r9erVVFdXs3DhQuu+0aNHM2bMGA+mgqioKA4fPswjjzyCRqMhOjraqwqYt+nfvz+HDh3ikUcewWKxMHbsWHr16uXpWISHhzNx4kTGjh2L0WjkgQceYPjw4Z6OBcC5c+cICwvzdAwbffv25dixYyQkJKDT6ejRoweTJ0+ul/uWb5QTQgjhUJOYYhJCCOE8KRBCCCEckgIhhBDCISkQQgghHJICIYQQwiEpEEIIIRySAiGEEMIhKRBCCCEc+v/neFgoMJAHeAAAAABJRU5ErkJggg==\n",
"text/plain": [
""
]
},
"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\u001b[0m in \u001b[0;36m\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\u001b[0m in \u001b[0;36m\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": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAD8CAYAAACRkhi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ON9LMdiF8H/y2dqa4rj3x8c6Ez8rykusyGzhxoPeKdfwa+GBsj0cRfvU/SfisQ+i0l2Wsy1zg0NTnLbd9FOZDuKrcyD/CL7+nCL1/L+FQ/tj4eA3h19/cOO/xhAtlCwmnIY5M1bGaDadtTifswORWwjuAreK8B8SdsJTwpTEmtSxzCIek/xvnWU34ovkR4fTTI/HvfDYE5I2P5ZL1WBfXZSXhlrXbYl23JcsQy32MePdFzbZ4JbUtzojrmRxR3J5aj/GEuw4eJJwj/nCqngWpxzPjdlwT13lknD4fOLzm/ScTfkmn12Vd3AenZa1LnJ7sk7uBvxtgXZbF+tan92uc/yDg7oztUXS/ziIciie3At5XdjkInftf6Xu76rap+ifHtvFw3B+9Gft1OfHuoGR7ppbjL4QfBusItydmtvOabfB1UncHMXAbnZpVHwO30atzyoyOdS4hnNb4Sp37dTnhSOXlOP8e6e0ZH18Qt/uauHzbx23zIKFdzSdcRIfwxfqN1Lqsj+/9dJyetS4fieuxgPB5OqbOdZlBOAp8mHi3T3qfxMf3Eu5YWkNonyMJd0jdH9flHmBSbfuIzz9BOKX0KDm3fJf5U8SwiEgX68jTQSIiUow6ARGRLqZOQESki6kTEBHpYuoERES6mDoBEZEupk5ARKSLqRMQEeli/x//PClwaiHTfwAAAABJRU5ErkJggg==\n",
"text/plain": [
""
]
},
"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\u001b[0m in \u001b[0;36m\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: ",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m\u001b[0m in \u001b[0;36m\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: "
]
}
],
"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": [
""
]
},
"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": [
""
]
},
"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\u001b[0m in \u001b[0;36m\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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" type_0 | \n",
" id | \n",
" name | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" id | \n",
" 8671703e-aab7-47a8-818e-a83a91278658 | \n",
" NaN | \n",
"
\n",
" \n",
" 1 | \n",
" name | \n",
" 8671703e-aab7-47a8-818e-a83a91278658 | \n",
" NaN | \n",
"
\n",
" \n",
" 2 | \n",
" id | \n",
" 08a66b27-7098-4396-b942-ba73fa2e2df6 | \n",
" NaN | \n",
"
\n",
" \n",
" 3 | \n",
" name | \n",
" 08a66b27-7098-4396-b942-ba73fa2e2df6 | \n",
" NaN | \n",
"
\n",
" \n",
" 4 | \n",
" id | \n",
" 48b94b06-ebbd-47e9-958c-44bf63622f5e | \n",
" NaN | \n",
"
\n",
" \n",
" 5 | \n",
" name | \n",
" 48b94b06-ebbd-47e9-958c-44bf63622f5e | \n",
" NaN | \n",
"
\n",
" \n",
" 6 | \n",
" id | \n",
" c771a4d4-51cb-41de-83aa-7103cd199c92 | \n",
" NaN | \n",
"
\n",
" \n",
" 7 | \n",
" name | \n",
" c771a4d4-51cb-41de-83aa-7103cd199c92 | \n",
" NaN | \n",
"
\n",
" \n",
" 8 | \n",
" id | \n",
" 272ef47d-171f-4395-a156-f4979e7bf352 | \n",
" NaN | \n",
"
\n",
" \n",
" 9 | \n",
" name | \n",
" 272ef47d-171f-4395-a156-f4979e7bf352 | \n",
" NaN | \n",
"
\n",
" \n",
" 10 | \n",
" id | \n",
" 237cac8c-5cb0-4015-9d08-c7df9699a136 | \n",
" NaN | \n",
"
\n",
" \n",
" 11 | \n",
" name | \n",
" 237cac8c-5cb0-4015-9d08-c7df9699a136 | \n",
" NaN | \n",
"
\n",
" \n",
" 12 | \n",
" id | \n",
" 4360d68e-392e-4b30-8808-7b7310c9c273 | \n",
" NaN | \n",
"
\n",
" \n",
" 13 | \n",
" name | \n",
" 4360d68e-392e-4b30-8808-7b7310c9c273 | \n",
" NaN | \n",
"
\n",
" \n",
" 14 | \n",
" id | \n",
" 1b5ea4d5-1200-4fe4-b43c-112b6414dff2 | \n",
" NaN | \n",
"
\n",
" \n",
" 15 | \n",
" name | \n",
" 1b5ea4d5-1200-4fe4-b43c-112b6414dff2 | \n",
" NaN | \n",
"
\n",
" \n",
" 16 | \n",
" id | \n",
" d74db266-c626-44cc-b504-26507871099f | \n",
" NaN | \n",
"
\n",
" \n",
" 17 | \n",
" name | \n",
" d74db266-c626-44cc-b504-26507871099f | \n",
" NaN | \n",
"
\n",
" \n",
" 18 | \n",
" id | \n",
" 94d9893d-ab70-4d00-8f0d-84ae8a75cfbb | \n",
" NaN | \n",
"
\n",
" \n",
" 19 | \n",
" name | \n",
" 94d9893d-ab70-4d00-8f0d-84ae8a75cfbb | \n",
" NaN | \n",
"
\n",
" \n",
" 20 | \n",
" id | \n",
" 2c0070b5-6e05-438c-a26a-e7a87e840823 | \n",
" NaN | \n",
"
\n",
" \n",
" 21 | \n",
" name | \n",
" 2c0070b5-6e05-438c-a26a-e7a87e840823 | \n",
" NaN | \n",
"
\n",
" \n",
" 22 | \n",
" id | \n",
" 4d6cc1cc-5884-4328-8306-344aa1ca5d3e | \n",
" NaN | \n",
"
\n",
" \n",
" 23 | \n",
" name | \n",
" 4d6cc1cc-5884-4328-8306-344aa1ca5d3e | \n",
" NaN | \n",
"
\n",
" \n",
" 24 | \n",
" id | \n",
" 9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0 | \n",
" NaN | \n",
"
\n",
" \n",
" 25 | \n",
" name | \n",
" 9773edb1-6279-4f3c-85d2-9e0d5e9cf6c0 | \n",
" NaN | \n",
"
\n",
" \n",
" 26 | \n",
" id | \n",
" 6aa96cce-d444-4600-b2c7-d3898444a745 | \n",
" NaN | \n",
"
\n",
" \n",
" 27 | \n",
" name | \n",
" 6aa96cce-d444-4600-b2c7-d3898444a745 | \n",
" NaN | \n",
"
\n",
" \n",
" 28 | \n",
" id | \n",
" e7730cf8-ea18-48e7-851e-be562d65786f | \n",
" NaN | \n",
"
\n",
" \n",
" 29 | \n",
" name | \n",
" e7730cf8-ea18-48e7-851e-be562d65786f | \n",
" NaN | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 5890 | \n",
" id | \n",
" af3dd5d8-71ba-44fa-9716-9592583a14eb | \n",
" NaN | \n",
"
\n",
" \n",
" 5891 | \n",
" name | \n",
" af3dd5d8-71ba-44fa-9716-9592583a14eb | \n",
" NaN | \n",
"
\n",
" \n",
" 5892 | \n",
" id | \n",
" 6a3be6e9-fd15-47c8-87fb-b0aab1974ab5 | \n",
" NaN | \n",
"
\n",
" \n",
" 5893 | \n",
" name | \n",
" 6a3be6e9-fd15-47c8-87fb-b0aab1974ab5 | \n",
" NaN | \n",
"
\n",
" \n",
" 5894 | \n",
" id | \n",
" 3e7a1caf-9db0-42fb-84b7-80bd94421db7 | \n",
" NaN | \n",
"
\n",
" \n",
" 5895 | \n",
" name | \n",
" 3e7a1caf-9db0-42fb-84b7-80bd94421db7 | \n",
" NaN | \n",
"
\n",
" \n",
" 5896 | \n",
" id | \n",
" b7099973-d989-4edb-a369-bc537106bd9b | \n",
" NaN | \n",
"
\n",
" \n",
" 5897 | \n",
" name | \n",
" b7099973-d989-4edb-a369-bc537106bd9b | \n",
" NaN | \n",
"
\n",
" \n",
" 5898 | \n",
" id | \n",
" 11ed6e6b-ace8-4670-beb7-11943397c360 | \n",
" NaN | \n",
"
\n",
" \n",
" 5899 | \n",
" name | \n",
" 11ed6e6b-ace8-4670-beb7-11943397c360 | \n",
" NaN | \n",
"
\n",
" \n",
" 5900 | \n",
" id | \n",
" f0ee205f-9a4c-4099-b80a-21a2a744dd49 | \n",
" NaN | \n",
"
\n",
" \n",
" 5901 | \n",
" name | \n",
" f0ee205f-9a4c-4099-b80a-21a2a744dd49 | \n",
" NaN | \n",
"
\n",
" \n",
" 5902 | \n",
" id | \n",
" eba688d7-0630-45b5-beb2-0f10d0223c13 | \n",
" NaN | \n",
"
\n",
" \n",
" 5903 | \n",
" name | \n",
" eba688d7-0630-45b5-beb2-0f10d0223c13 | \n",
" NaN | \n",
"
\n",
" \n",
" 5904 | \n",
" id | \n",
" 84cde482-86cf-409f-83c5-2ed27e282f82 | \n",
" NaN | \n",
"
\n",
" \n",
" 5905 | \n",
" name | \n",
" 84cde482-86cf-409f-83c5-2ed27e282f82 | \n",
" NaN | \n",
"
\n",
" \n",
" 5906 | \n",
" id | \n",
" 21d70847-1582-42ed-a51e-9e91215320ec | \n",
" NaN | \n",
"
\n",
" \n",
" 5907 | \n",
" name | \n",
" 21d70847-1582-42ed-a51e-9e91215320ec | \n",
" NaN | \n",
"
\n",
" \n",
" 5908 | \n",
" id | \n",
" 62588fc6-a8f5-4f85-b707-344ff5c00d89 | \n",
" NaN | \n",
"
\n",
" \n",
" 5909 | \n",
" name | \n",
" 62588fc6-a8f5-4f85-b707-344ff5c00d89 | \n",
" NaN | \n",
"
\n",
" \n",
" 5910 | \n",
" id | \n",
" 32c6d064-7f2e-4443-aa4d-904fd816c7b4 | \n",
" NaN | \n",
"
\n",
" \n",
" 5911 | \n",
" name | \n",
" 32c6d064-7f2e-4443-aa4d-904fd816c7b4 | \n",
" NaN | \n",
"
\n",
" \n",
" 5912 | \n",
" id | \n",
" d79eb27d-4929-49a9-9ab8-d60ba4bc1d12 | \n",
" NaN | \n",
"
\n",
" \n",
" 5913 | \n",
" name | \n",
" d79eb27d-4929-49a9-9ab8-d60ba4bc1d12 | \n",
" NaN | \n",
"
\n",
" \n",
" 5914 | \n",
" id | \n",
" c0bd843f-77eb-4812-83ec-13181beaa21b | \n",
" NaN | \n",
"
\n",
" \n",
" 5915 | \n",
" name | \n",
" c0bd843f-77eb-4812-83ec-13181beaa21b | \n",
" NaN | \n",
"
\n",
" \n",
" 5916 | \n",
" id | \n",
" 7620698b-6f87-4a03-aaaa-58eb3133a7c3 | \n",
" NaN | \n",
"
\n",
" \n",
" 5917 | \n",
" name | \n",
" 7620698b-6f87-4a03-aaaa-58eb3133a7c3 | \n",
" NaN | \n",
"
\n",
" \n",
" 5918 | \n",
" id | \n",
" fb15f211-1c83-455b-b535-918330bf6852 | \n",
" NaN | \n",
"
\n",
" \n",
" 5919 | \n",
" name | \n",
" fb15f211-1c83-455b-b535-918330bf6852 | \n",
" NaN | \n",
"
\n",
" \n",
"
\n",
"
5920 rows × 3 columns
\n",
"
"
],
"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\u001b[0m in \u001b[0;36m\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": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" bad_behaviour | \n",
" ball_receipt | \n",
" ball_recovery | \n",
" block | \n",
" dribble | \n",
" duel | \n",
" duration | \n",
" foul_committed | \n",
" foul_won | \n",
" goalkeeper | \n",
" ... | \n",
" possession_team | \n",
" related_events | \n",
" second | \n",
" shot | \n",
" substitution | \n",
" tactics | \n",
" team | \n",
" timestamp | \n",
" type | \n",
" under_pressure | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.00 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" NaN | \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" {'formation': 433, 'lineup': [{'player': {'id'... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-29 00:00:00.000 | \n",
" {'id': 35, 'name': 'Starting XI'} | \n",
" NaN | \n",
"
\n",
" \n",
" 1 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.00 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" NaN | \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" {'formation': 352, 'lineup': [{'player': {'id'... | \n",
" {'id': 971, 'name': 'Chelsea LFC'} | \n",
" 2018-11-29 00:00:00.000 | \n",
" {'id': 35, 'name': 'Starting XI'} | \n",
" NaN | \n",
"
\n",
" \n",
" 2 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 8.16 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [c771a4d4-51cb-41de-83aa-7103cd199c92] | \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" {'id': 971, 'name': 'Chelsea LFC'} | \n",
" 2018-11-29 00:00:00.000 | \n",
" {'id': 18, 'name': 'Half Start'} | \n",
" NaN | \n",
"
\n",
" \n",
" 3 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 7.96 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" [48b94b06-ebbd-47e9-958c-44bf63622f5e] | \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" {'id': 746, 'name': 'Manchester City WFC'} | \n",
" 2018-11-29 00:00:00.000 | \n",
" {'id': 18, 'name': 'Half Start'} | \n",
" NaN | \n",
"
\n",
" \n",
" 4 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" 0.00 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" ... | \n",
" {'id': 971, 'name': 'Chelsea LFC'} | \n",
" [237cac8c-5cb0-4015-9d08-c7df9699a136] | \n",
" 0 | \n",
" NaN | \n",
" NaN | \n",
" NaN | \n",
" {'id': 971, 'name': 'Chelsea LFC'} | \n",
" 2018-11-29 00:00:00.100 | \n",
" {'id': 30, 'name': 'Pass'} | \n",
" NaN | \n",
"
\n",
" \n",
"
\n",
"
5 rows × 33 columns
\n",
"
"
],
"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
}