see if this works?
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -85,9 +85,7 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
85 |
# "jersey": datasets.Value("string"),
|
86 |
# "position": datasets.Value("string")
|
87 |
# })
|
88 |
-
"moments":
|
89 |
-
# question, how to indicate lists of lists of different types
|
90 |
-
{
|
91 |
"quarter": datasets.Value("int64"),
|
92 |
"game_clock": datasets.Value("float32"),
|
93 |
"shot_clock": datasets.Value("float32"),
|
@@ -106,9 +104,8 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
106 |
# }
|
107 |
# )
|
108 |
}
|
109 |
-
|
110 |
-
|
111 |
-
)
|
112 |
|
113 |
return datasets.DatasetInfo(
|
114 |
# This is the description that will appear on the datasets page.
|
|
|
85 |
# "jersey": datasets.Value("string"),
|
86 |
# "position": datasets.Value("string")
|
87 |
# })
|
88 |
+
"moments": {
|
|
|
|
|
89 |
"quarter": datasets.Value("int64"),
|
90 |
"game_clock": datasets.Value("float32"),
|
91 |
"shot_clock": datasets.Value("float32"),
|
|
|
104 |
# }
|
105 |
# )
|
106 |
}
|
107 |
+
}
|
108 |
+
)
|
|
|
109 |
|
110 |
return datasets.DatasetInfo(
|
111 |
# This is the description that will appear on the datasets page.
|