typo fix
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -179,7 +179,7 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
179 |
ball_coords_x = moment[5][0][2]
|
180 |
ball_coords_y = moment[5][0][3]
|
181 |
ball_coords_z = moment[5][0][4]
|
182 |
-
player_coords = [{"
|
183 |
|
184 |
moment_id += 1
|
185 |
# moment_id stop
|
|
|
179 |
ball_coords_x = moment[5][0][2]
|
180 |
ball_coords_y = moment[5][0][3]
|
181 |
ball_coords_z = moment[5][0][4]
|
182 |
+
player_coords = [{"teamid": i[0], "playerid": i[1], "x": i[2], "y": i[3], "z": i[4]} for i in moment[5][1:]]
|
183 |
|
184 |
moment_id += 1
|
185 |
# moment_id stop
|