dcayton commited on
Commit
b1e6dd9
1 Parent(s): da3fe2d

change round

Browse files
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +2 -2
nba_tracking_data_15_16.py CHANGED
@@ -164,8 +164,8 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
164
  # ball_coords = [moment[5][0][2:] for moment in event["moments"]]
165
  for moment in event["moments"]:
166
  quarter = moment[0]
167
- game_clock = round(moment[2], 2)
168
- shot_clock = round(moment[3], 2)
169
  print(shot_clock)
170
  ball_coords = moment[5][0][2:]
171
  # for player in moment[5][1:]:
 
164
  # ball_coords = [moment[5][0][2:] for moment in event["moments"]]
165
  for moment in event["moments"]:
166
  quarter = moment[0]
167
+ game_clock = moment[2]
168
+ shot_clock = moment[3]
169
  print(shot_clock)
170
  ball_coords = moment[5][0][2:]
171
  # for player in moment[5][1:]: