change round
Browse files
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 =
|
168 |
-
shot_clock =
|
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:]:
|