dcayton commited on
Commit
a7076f6
1 Parent(s): e675bb8

see if this works?

Browse files
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +3 -6
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": datasets.Sequence(
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.