added moment_id stop for checking
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -178,6 +178,10 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
178 |
z = player[4]
|
179 |
|
180 |
moment_id += 1
|
|
|
|
|
|
|
|
|
181 |
yield moment_id, {
|
182 |
"gameid": game_id,
|
183 |
"gamedate": game_date,
|
|
|
178 |
z = player[4]
|
179 |
|
180 |
moment_id += 1
|
181 |
+
# moment_id stop
|
182 |
+
if moment_id > 1000:
|
183 |
+
break
|
184 |
+
|
185 |
yield moment_id, {
|
186 |
"gameid": game_id,
|
187 |
"gamedate": game_date,
|