dcayton commited on
Commit
ff1d1f1
1 Parent(s): 4c0ca1c
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +1 -1
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 = [{"team_id": i[0], "player_id": 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
 
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