fix on _info
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -61,9 +61,9 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
61 |
"gameid": datasets.Value("string"),
|
62 |
"gamedate": datasets.Value("string"),
|
63 |
# question: how to indicate list of dictionaries?
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
# # "visitor": {
|
68 |
# # "name": datasets.Value("string"),
|
69 |
# # "teamid": datasets.Value("int64"),
|
@@ -126,8 +126,8 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
126 |
# )
|
127 |
# )
|
128 |
)
|
129 |
-
|
130 |
-
|
131 |
}
|
132 |
)
|
133 |
|
|
|
61 |
"gameid": datasets.Value("string"),
|
62 |
"gamedate": datasets.Value("string"),
|
63 |
# question: how to indicate list of dictionaries?
|
64 |
+
"events": datasets.Sequence(
|
65 |
+
{
|
66 |
+
"eventid": datasets.Value("string"),
|
67 |
# # "visitor": {
|
68 |
# # "name": datasets.Value("string"),
|
69 |
# # "teamid": datasets.Value("int64"),
|
|
|
126 |
# )
|
127 |
# )
|
128 |
)
|
129 |
+
}
|
130 |
+
)
|
131 |
}
|
132 |
)
|
133 |
|