{'Lulaj': {'name': 'Lulaj',
'number': '1',
'time_on_field': 851.7228012,
'plusminus': -15},
'Aloi': {'name': 'Aloi',
'number': '2',
'time_on_field': 1236.829671,
'plusminus': -15},
'Baldassarri': {'name': 'Baldassarri',
'number': '4',
'time_on_field': 854.4685361999999,
'plusminus': -11},
'Di Francesco': {'name': 'Di Francesco',
'number': '5',
'time_on_field': 0.0,
'plusminus': 0},
'Colotti': {'name': 'Colotti',
'number': '8',
'time_on_field': 2089.9055598,
'plusminus': -14},
'Pentucci': {'name': 'Pentucci',
'number': '9',
'time_on_field': 2137.3046634,
'plusminus': -11},
'Dusels': {'name': 'Dusels',
'number': '12',
'time_on_field': 0.0,
'plusminus': 0},
'Manna': {'name': 'Manna',
'number': '13',
'time_on_field': 699.8650938000001,
'plusminus': 3},
'Diana': {'name': 'Diana',
'number': '14',
'time_on_field': 1941.159615,
'plusminus': -10},
'Campana': {'name': 'Campana',
'number': '21',
'time_on_field': 1480.24905,
'plusminus': -7},
'Marcantognini': {'name': 'Marcantognini',
'number': '34',
'time_on_field': 708.4950096,
'plusminus': -10},
'Giangaspro': {'name': 'Giangaspro',
'number': '16',
'time_on_field': 0.0,
'plusminus': 0}}
| team | player | event | event_name | event_description | quarter | seconds | x | y | time | |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | Team | Pentucci | 18 | Entr | Entrata in campo | 1 | 600.000000 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 1 | Team | Aloi | 18 | Entr | Entrata in campo | 1 | 600.000000 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 2 | Team | Colotti | 18 | Entr | Entrata in campo | 1 | 600.000000 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 3 | Team | Diana | 18 | Entr | Entrata in campo | 1 | 600.000000 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 4 | Team | Lulaj | 18 | Entr | Entrata in campo | 1 | 600.000000 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 283 | Opponents | Boffini | 4 | T3ok | Tiro da 3 centrato | 4 | 30.359581 | 157.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 284 | Team | Pentucci | 3 | T2err | Tiro da 2 sbagliato | 4 | 25.547852 | 28.504673 | 74.761905 | 2025-02-09 17:11:58 |
| 285 | Team | Diana | 13 | FCom | Fallo commesso | 4 | 4.453230 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 286 | Team | Pentucci | 7 | RDif | Rimbalzo difensivo | 4 | 2.856359 | 0.000000 | 0.000000 | 2025-02-09 17:11:58 |
| 287 | Team | Colotti | 5 | T3err | Tiro da 3 sbagliato | 4 | 1.000000 | 62.616822 | 25.523810 | 2025-02-09 17:11:58 |
288 rows × 10 columns
-1
['Aloi', 'Colotti', 'Di Francesco', 'Diana', 'Giangaspro', 'Lulaj', 'Manna']
['Baldassarri', 'Pentucci', 'Colotti', '', 'Marcantognini']
True
'Colotti'
--------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) Cell In[16], line 17 14 output = widgets.Output() 15 display(output) ---> 17 o = ScoreBoard.ScoreBoard('./data/Urbania.team', './data/1-Ritorno-PortoSant\'Elpidio.game', scale=0.5, output=output) 18 game = o.game 20 spacer = v.Html(tag='div', style_='width: 20px; height: 10px;', children=['']) File ~/notebooks/pyBasket/ScoreBoard.py:69, in ScoreBoard.__init__(self, team_file, game_file, scale, output) 67 # Read game info from the input files 68 self.team_file = team_file ---> 69 self.game = Game.Game(self, team_file, game_file) 71 # Store input parameters 72 self._scale = scale File ~/notebooks/pyBasket/Game.py:88, in Game.__init__(self, board, team_file, game_file) 85 self.players_images[player_name] = colors.image2Base64(img) 87 # Load the game from the game_file ---> 88 self.loadGame(game_file) 90 # Pre-create 30 cards for playersList and opponentsList calls (5onfield + 12players + 12opponents) 91 w = '100px' File ~/notebooks/pyBasket/Game.py:134, in Game.loadGame(self, game_file) 104 self.game_data = { 105 "date": datetime.datetime.today().strftime('%d/%m/%Y'), 106 "time": "18:00", (...) 131 "events": [] 132 } 133 else: --> 134 with open(self.game_file) as f: 135 self.game_data = json.load(f) 137 # Fill missing info FileNotFoundError: [Errno 2] No such file or directory: "./data/1-Ritorno-PortoSant'Elpidio.game"